Skip to content

Commit

Permalink
use cross environment for x86_64-unknown-linux-musl builds
Browse files Browse the repository at this point in the history
  • Loading branch information
lmkra committed Sep 30, 2023
1 parent 410ce78 commit a94da2a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
uses: actions/checkout@v4

- name: Install cross (non-x86_64 linux)
if: "!contains(matrix.target, 'x86_64') && runner.os == 'Linux'"
if: "matrix.target != 'x86_64-unknown-linux-gnu' && runner.os == 'Linux'"
run: |
pushd "$(mktemp -d)"
wget https://github.com/cross-rs/cross/releases/download/v0.2.4/cross-x86_64-unknown-linux-musl.tar.gz
Expand All @@ -75,7 +75,6 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install musl-tools
sudo ln -s "/usr/bin/g++" "/usr/bin/musl-g++"
- name: Set up extra cargo flags
if: matrix.no-zstd-thin
Expand Down

0 comments on commit a94da2a

Please sign in to comment.