Skip to content

Commit 32e5b5b

Browse files
committed
Update CI
1 parent 684f412 commit 32e5b5b

File tree

1 file changed

+34
-24
lines changed

1 file changed

+34
-24
lines changed

.circleci/config.yml

Lines changed: 34 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@ commands:
77
run_tests:
88
description: "A very simple command for demonstration purposes"
99
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'
1027
- run:
1128
name: Version information
1229
command: rustc --version; cargo --version; rustup --version
@@ -29,30 +46,6 @@ commands:
2946
- run:
3047
name: Run all tests
3148
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: {}
5649
#- run:
5750
# name: Install nightly
5851
# command: rustup install nightly
@@ -61,8 +54,25 @@ jobs:
6154
# name: Run cycle benchmarks
6255
# command: make perf
6356

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+
6473
workflows:
6574
version: 2
6675
workflow:
6776
jobs:
6877
- test
78+
- test-sse

0 commit comments

Comments
 (0)