File tree Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Expand file tree Collapse file tree 3 files changed +43
-2
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ # TODO: Change back to dispatch
4+ on :
5+ [push, pull_request, workflow_dispatch]
6+
7+ jobs :
8+ bench :
9+ name : Bench ${{matrix.os}}
10+ runs-on : ${{matrix.os}}
11+ strategy :
12+ fail-fast : false
13+ matrix :
14+ os : [ubuntu-latest, macos-latest, windows-latest]
15+ steps :
16+ - uses : actions/checkout@v4
17+ with :
18+ submodules : recursive
19+ - uses : dtolnay/rust-toolchain@stable
20+
21+ - if : matrix.os == 'ubuntu-latest'
22+ name : Get Linux CPU Info
23+ run : cat /proc/cpuinfo
24+ shell : bash
25+
26+ - if : matrix.os == 'macos-latest'
27+ name : Get macOS CPU Info
28+ run : sysctl -a | grep cpu
29+ shell : bash
30+
31+ - if : matrix.os == 'windows-latest'
32+ name : Get Windows CPU Info
33+ run : wmic cpu list /format:list
34+ shell : bash
35+
36+ # TODO: Restore later
37+ # - run: cargo --version
38+ # - run: cargo check
39+ # - run: cargo test
40+ # - run: cd extras/simple-bench
41+ # TODO: Need 3 OSes
Original file line number Diff line number Diff line change 1212 matrix :
1313 rust : [1.63.0, stable, nightly]
1414 steps :
15- - uses : actions/checkout@v2
15+ - uses : actions/checkout@v4
1616 with :
1717 submodules : recursive
1818 - uses : dtolnay/rust-toolchain@master
Original file line number Diff line number Diff line change 88 name : Lint
99 runs-on : ubuntu-latest
1010 steps :
11- - uses : actions/checkout@v2
11+ - uses : actions/checkout@v4
1212 with :
1313 submodules : recursive
1414 - uses : dtolnay/rust-toolchain@master
You can’t perform that action at this time.
0 commit comments