@@ -7,6 +7,23 @@ commands:
7
7
run_tests :
8
8
description : " A very simple command for demonstration purposes"
9
9
steps :
10
+ - checkout
11
+ # - run:
12
+ # name: Install CMAKE
13
+ # command: 'apt-get update && apt-get install -y cmake'
14
+ # - restore_cache:
15
+ # keys:
16
+ # key: v4-cmake-{{ arch }}-3.14.1
17
+ # - run:
18
+ # name: Fetch newer CMAKE ...
19
+ # command: 'wget https://github.com/Kitware/CMake/releases/download/v3.14.1/cmake-3.14.1.tar.gz && tar zxf cmake-3.14.1.tar.gz && cd cmake-3.14.1 && cmake . && make'
20
+ # - save_cache:
21
+ # paths:
22
+ # - cmake-3.14.1
23
+ # key: v4-cmake-{{ arch }}-3.14.1
24
+ # - run:
25
+ # name: install newer CMAKE ...
26
+ # command: 'cd cmake-3.14.1 && make install'
10
27
- run :
11
28
name : Version information
12
29
command : rustc --version; cargo --version; rustup --version
@@ -29,30 +46,6 @@ commands:
29
46
- run :
30
47
name : Run all tests
31
48
command : cargo test --all
32
-
33
- jobs :
34
- test :
35
- docker :
36
- - image : rust:1
37
- steps :
38
- - checkout
39
- # - run:
40
- # name: Install CMAKE
41
- # command: 'apt-get update && apt-get install -y cmake'
42
- # - restore_cache:
43
- # keys:
44
- # key: v4-cmake-{{ arch }}-3.14.1
45
- # - run:
46
- # name: Fetch newer CMAKE ...
47
- # command: 'wget https://github.com/Kitware/CMake/releases/download/v3.14.1/cmake-3.14.1.tar.gz && tar zxf cmake-3.14.1.tar.gz && cd cmake-3.14.1 && cmake . && make'
48
- # - save_cache:
49
- # paths:
50
- # - cmake-3.14.1
51
- # key: v4-cmake-{{ arch }}-3.14.1
52
- # - run:
53
- # name: install newer CMAKE ...
54
- # command: 'cd cmake-3.14.1 && make install'
55
- - run_tests : {}
56
49
# - run:
57
50
# name: Install nightly
58
51
# command: rustup install nightly
61
54
# name: Run cycle benchmarks
62
55
# command: make perf
63
56
57
+ jobs :
58
+ test :
59
+ docker :
60
+ - image : rust:1
61
+ environment :
62
+ RUSTFLAGS : ' -C target-cpu=native'
63
+ steps :
64
+ - run_tests : {}
65
+ test-sse :
66
+ docker :
67
+ - image : rust:1
68
+ environment :
69
+ RUSTFLAGS : ' -C target-cpu=native -C target-feature=-avx2'
70
+ steps :
71
+ - run_tests : {}
72
+
64
73
workflows :
65
74
version : 2
66
75
workflow :
67
76
jobs :
68
77
- test
78
+ - test-sse
0 commit comments