Skip to content

Commit

Permalink
Always build using cross
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonbaeten committed Jul 4, 2024
1 parent 488d68c commit 753b0fa
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,31 +55,26 @@ jobs:
os: ubuntu-20.04
target: x86_64-unknown-linux-gnu
platform: ~
cross: false

- name: linux-armv7-gnu
os: ubuntu-20.04
target: armv7-unknown-linux-gnueabihf
platform: ~
cross: true

- name: linux-arm64-gnu
os: ubuntu-20.04
target: aarch64-unknown-linux-gnu
platform: ~
cross: true

- name: linux-x86-64-musl
os: ubuntu-20.04
target: x86_64-unknown-linux-musl
platform: amd64
cross: true

- name: linux-arm64-musl
os: ubuntu-20.04
target: aarch64-unknown-linux-musl
platform: arm64
cross: true

steps:
- uses: actions/checkout@v4
Expand All @@ -103,10 +98,5 @@ jobs:

- run: cargo install cross --git https://github.com/cross-rs/cross || true

- name: Build
if: ${{ !matrix.cross }}
run: cargo build --release --locked --target ${{ matrix.target }} --manifest-path backend/Cargo.toml

- name: Cross build
if: ${{ matrix.cross }}
run: cross build --release --locked --target ${{ matrix.target }} --manifest-path backend/Cargo.toml

0 comments on commit 753b0fa

Please sign in to comment.