Skip to content

Commit 1b154a3

Browse files
committed
ci: test template with cargo-gpu variant
1 parent 5692501 commit 1b154a3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ jobs:
5151
run: echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
5252
- name: cargo fetch --locked
5353
run: cargo fetch --locked --target $TARGET
54+
- if: ${{ matrix.integration == 'cargo-gpu' }}
55+
name: template build
56+
run: cargo build --workspace --exclude xtask
57+
- if: ${{ matrix.integration == 'cargo-gpu' }}
58+
name: template test
59+
run: cargo nextest run --workspace --exclude xtask --no-tests warn
5460
- name: xtask build
5561
run: cargo build -p xtask
5662
- name: xtask generate

0 commit comments

Comments
 (0)