Skip to content

Commit

Permalink
Try cross.
Browse files Browse the repository at this point in the history
  • Loading branch information
csasarak committed Aug 27, 2024
1 parent 3e0b474 commit fca7318
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/build-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ jobs:
# This action installs the 'minimal' profile.
- uses: dtolnay/rust-toolchain@stable

- uses: taiki-e/install-action@v2
with:
tool: nextest,cross


- uses: Swatinem/rust-cache@v2

- name: Debugging information
Expand All @@ -86,9 +91,9 @@ jobs:
# using jemalloc reduces the performance impact of this
# over the default libc allocator (which performs very poorly in static builds).
- name: Build Rust dependencies (Linux)
if: ${{ matrix.os-name == 'Linux' }}
if: ${{ matrix.os-name == 'LinuxARM' }}
run: |
cargo build --features jemalloc --release
cross build --target=aarch64-unknown-linux-musl --release
# Non-Linux environments generally don't need `jemalloc`
# and in particular Windows doesn't support it.
Expand Down

0 comments on commit fca7318

Please sign in to comment.