Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Commit 00f3d9d

Browse files
author
Filippo Costa
committed
Remove target from matrix
1 parent 1df1dc1 commit 00f3d9d

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,6 @@ jobs:
2828
matrix:
2929
os: [ubuntu-latest, macos-latest, windows-latest]
3030
profile: [release]
31-
include:
32-
- os: ubuntu-latest
33-
cargo-targets: ["x86_64-unknown-linux-gnu"]
34-
- os: macos-latest
35-
cargo-target: ["aarch64-apple-darwin", "x86_64-apple-darwin"]
36-
- os: windows-latest
37-
cargo-target: ["x86_64-pc-windows-msvc"]
3831
steps:
3932
- name: Checkout Code
4033
uses: actions/checkout@v2
@@ -59,7 +52,13 @@ jobs:
5952
uses: actions-rs/cargo@v1
6053
with:
6154
command: build
62-
args: --target ${{ matrix.cargo-target }} --release -p svm-runtime-ffi -p svm-cli --no-default-features
55+
args: --release -p svm-runtime-ffi -p svm-cli --no-default-features
56+
- name: Cargo Build (Apple Silicon)
57+
if: matrix.os == 'macos-latest'
58+
uses: actions-rs/cargo@v1
59+
with:
60+
command: build
61+
args: --target aarch64-apple-darwin --release -p svm-runtime-ffi -p svm-cli --no-default-features
6362
- name: Prepare Artifacts
6463
run: |
6564
ls target

0 commit comments

Comments
 (0)