ci: attempt to fix

This commit is contained in:
figsoda 2023-05-18 15:45:02 -04:00
parent 6d5ec57a16
commit 2bb9a35bb4
2 changed files with 13 additions and 1 deletions

View File

@ -24,10 +24,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies (musl)
if: contains(matrix.target, 'musl')
run: |
sudo apt update
sudo apt install musl-tools
- name: Cargo build
run: |
rustup toolchain install stable --profile minimal -t ${{ matrix.target }}
cargo build
cargo build --target ${{ matrix.target }}
env:
GEN_ARTIFACTS: artifacts

View File

@ -33,6 +33,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Install dependencies (musl)
if: contains(matrix.target, 'musl')
run: |
sudo apt update
sudo apt install musl-tools
- name: Cargo build
run: |
rustup toolchain install nightly --profile minimal -t ${{ matrix.target }}