Skip to content

Commit

Permalink
ci: try building musl without cross
Browse files Browse the repository at this point in the history
  • Loading branch information
passcod committed Feb 4, 2025
1 parent 3998e03 commit 2f1010f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,10 @@ jobs:
- if: contains(matrix.target, 'musl')
run: sudo apt-get install -y musl musl-dev musl-tools

- if: runner.os == 'Linux' && matrix.target != 'x86_64-unknown-linux-gnu'
uses: taiki-e/install-action@v2
with:
tool: cross

- uses: Swatinem/rust-cache@v2

- if: runner.os == 'Linux' && contains(matrix.target, 'musl')
run: cross build -p bestool --profile dist --target ${{ matrix.target }} --features iti
- if: runner.os == 'Linux' && contains(matrix.target, 'aarch64')
run: cargo build -p bestool --profile dist --target ${{ matrix.target }} --features iti
- if: runner.os != 'Linux' || !contains(matrix.target, 'musl')
run: cargo build -p bestool --profile dist --target ${{ matrix.target }}

Expand Down

0 comments on commit 2f1010f

Please sign in to comment.