Skip to content

Commit afbb542

Browse files
authored
Run tests vs stable on 64 bit x86 Linux (#825)
1 parent 80f4e70 commit afbb542

1 file changed

Lines changed: 39 additions & 1 deletion

File tree

.github/workflows/tests.yml

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: 64 bit CI
77

88
jobs:
99
test-64bit:
10-
name: Run tests (64 bit)
10+
name: Run tests on toolchain-version (64 bit)
1111
runs-on: ${{ matrix.os }}
1212
#container:
1313
# image: ubuntu:20.10
@@ -46,6 +46,44 @@ jobs:
4646
run: |
4747
cargo hack test --doc --feature-powerset
4848
49+
test-64bit-stable:
50+
name: Run tests on stable (64 bit)
51+
runs-on: ${{ matrix.os }}
52+
#container:
53+
# image: ubuntu:20.10
54+
strategy:
55+
matrix:
56+
os: [ubuntu-24.04]
57+
rust:
58+
- stable
59+
steps:
60+
- name: Cancel Previous Runs
61+
uses: styfle/cancel-workflow-action@0.12.1
62+
with:
63+
access_token: ${{ secrets.GITHUB_TOKEN }}
64+
65+
- uses: actions/checkout@v6.0.0
66+
with:
67+
token: ${{ secrets.GITHUB_TOKEN }}
68+
submodules: recursive
69+
- uses: dtolnay/rust-toolchain@v1
70+
with:
71+
toolchain: ${{ matrix.rust }}
72+
- uses: Swatinem/rust-cache@v2.8.2
73+
- uses: taiki-e/install-action@cargo-hack
74+
- run: sudo apt-get update -y
75+
if: (matrix.os == 'ubuntu-24.04') || (matrix.os == 'ubuntu-24.04-arm')
76+
- name: cargo check (powerset)
77+
run: cargo +stable hack check --feature-powerset --no-dev-deps --verbose
78+
- name: cargo check examples (powerset)
79+
run: cargo +stable hack check --examples --feature-powerset
80+
- name: run tests (powerset)
81+
run: |
82+
cargo +stable hack test --all-targets --feature-powerset
83+
- name: run doc tests (powerset)
84+
run: |
85+
cargo +stable hack test --doc --feature-powerset
86+
4987
fmt:
5088
name: rust fmt
5189
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)