Skip to content

Commit 12c57ff

Browse files
committed
Run test on CI only on appropriate targets
1 parent c5626aa commit 12c57ff

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Continuous integration
77

88
env:
99
RUSTFLAGS: '--deny warnings'
10-
10+
1111
jobs:
1212
ci-linux:
1313
runs-on: ubuntu-latest
@@ -38,6 +38,11 @@ jobs:
3838
target: ${{ matrix.TARGET }}
3939
override: true
4040
- uses: actions-rs/cargo@v1
41+
with:
42+
command: build
43+
args: --target=${{ matrix.TARGET }}
44+
- uses: actions-rs/cargo@v1
45+
if: ${{ contains(matrix.TARGET, 'x86_64') }}
4146
with:
4247
command: test
4348
args: --target=${{ matrix.TARGET }}

0 commit comments

Comments
 (0)