ci: only run tests on supported platforms by gh
This commit is contained in:
@@ -14,17 +14,13 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
include:
|
||||
# Platform supports is limited for tests (no aarch64)
|
||||
- os: windows-latest
|
||||
target: x86_64-pc-windows-msvc
|
||||
- os: windows-latest
|
||||
target: aarch64-pc-windows-msvc
|
||||
- os: macos-latest
|
||||
target: x86_64-apple-darwin
|
||||
code-target: darwin-x64
|
||||
- os: macos-latest
|
||||
target: aarch64-apple-darwin
|
||||
|
||||
name: Run tests (${{ matrix.target }})
|
||||
name: Build (${{ matrix.target }})
|
||||
runs-on: ${{ matrix.os }}
|
||||
steps:
|
||||
- name: Install Protoc
|
||||
@@ -44,7 +40,7 @@ jobs:
|
||||
- name: Build
|
||||
run: cargo build --release --verbose --target ${{ matrix.target }}
|
||||
|
||||
- name: Tests
|
||||
- name: Test
|
||||
run: cargo test --release --verbose --target ${{ matrix.target }}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user