File tree Expand file tree Collapse file tree 2 files changed +45
-1
lines changed
Expand file tree Collapse file tree 2 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches : [main, dev]
4+ pull_request :
5+
6+ name : 32-bit CI
7+
8+ jobs :
9+ run-tests :
10+ runs-on : ${{ matrix.os }}
11+ # container:
12+ # image: ubuntu:20.10
13+ strategy :
14+ matrix :
15+ os : [ubuntu-latest]
16+ rust :
17+ - stable
18+ steps :
19+ - name : Cancel Previous Runs
20+ 21+ with :
22+ access_token : ${{ secrets.GITHUB_TOKEN }}
23+ - uses : actions/checkout@v2
24+ with :
25+ token : ${{ secrets.GITHUB_TOKEN }}
26+ submodules : recursive
27+ - uses : actions-rs/toolchain@v1
28+ with :
29+ toolchain : ${{ matrix.rust }}
30+ override : true
31+ - uses : Swatinem/rust-cache@v1
32+ - name : Install Linux tooling for 32 bit builds
33+ run : |
34+ sudo apt-get update -y
35+ sudo apt-get -f install gcc-multilib
36+ - name : Install rust tooling for 32 bit builds
37+ run : |
38+ rustup target install i686-unknown-linux-gnu
39+ - name : cargo tests
40+ run : |
41+ cargo test --target=i686-unknown-linux-gnu
42+ - name : cargo tests (all feaures)
43+ run : |
44+ cargo test --target=i686-unknown-linux-gnu --all-features
Original file line number Diff line number Diff line change 33 branches : [main, dev]
44 pull_request :
55
6- name : CI
6+ name : 64-bit CI
77
88jobs :
99 run-tests :
You can’t perform that action at this time.
0 commit comments