Skip to content

Commit

Permalink
simplify matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
chainyo committed Apr 20, 2024
1 parent 2490068 commit e69b9cb
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
arch: [x86_64, ARM64]
include:
- os: ubuntu-latest
arch: ARM64
target: aarch64-unknown-linux-gnu
- os: ubuntu-latest
arch: x86_64
target: x86_64-unknown-linux-gnu
Expand All @@ -27,9 +22,6 @@ jobs:
- os: macos-latest
arch: x86_64
target: x86_64-apple-darwin
- os: windows-latest
arch: ARM64
target: aarch64-pc-windows-msvc
- os: windows-latest
arch: x86_64
target: x86_64-pc-windows-msvc
Expand All @@ -43,10 +35,6 @@ jobs:
toolchain: stable
target: ${{ matrix.target }}

- name: Install ARM64 Linux GNU cross-compilation tools
if: matrix.target == 'aarch64-unknown-linux-gnu'
run: sudo apt-get update && sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu

- name: Build binary
run: cargo build --release --target ${{ matrix.target }}

Expand Down

0 comments on commit e69b9cb

Please sign in to comment.