Skip to content

Commit e7118f6

Browse files
committed
ci: add backend feature matrix lanes
1 parent f100b97 commit e7118f6

1 file changed

Lines changed: 16 additions & 5 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,17 @@ jobs:
3131
- name: Run clippy
3232
run: cargo clippy --workspace --all-targets
3333

34-
llvm-feature-check:
35-
name: llvm feature check
34+
backend-feature-matrix:
35+
name: backend features (${{ matrix.lane }})
3636
runs-on: ubuntu-latest
37-
continue-on-error: true
37+
strategy:
38+
fail-fast: false
39+
matrix:
40+
include:
41+
- lane: default
42+
cargo_features: ""
43+
- lane: llvm-backend
44+
cargo_features: "--features llvm-backend"
3845
steps:
3946
- name: Checkout repository
4047
uses: actions/checkout@v4
@@ -45,8 +52,12 @@ jobs:
4552
- name: Cache cargo artifacts
4653
uses: Swatinem/rust-cache@v2
4754

48-
- name: Check zynml with llvm-backend feature
49-
run: cargo check -p zynml --features llvm-backend
55+
- name: Build zynml for selected backend lane
56+
run: cargo check -p zynml ${{ matrix.cargo_features }}
57+
58+
- name: Run runtime-profile smoke test for selected backend lane
59+
run: |
60+
RUST_MIN_STACK=134217728 cargo test -p zynml ${{ matrix.cargo_features }} --test e2e_tests runtime::test_runtime_profile_tiered_development -- --nocapture
5061
5162
parse-conformance:
5263
name: parse conformance

0 commit comments

Comments
 (0)