Skip to content

Commit

Permalink
Add packages to alpine package list
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmcgivery committed Nov 6, 2024
1 parent 9ac7f93 commit 43095a3
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/musl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
with:
shell-name: alpine.sh
packages: >
build-base
musl-tools
- uses: actions/checkout@v4
with:
Expand All @@ -41,12 +44,10 @@ jobs:
#- name: Install MUSL tools
# if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
# run: sudo apt-get update && sudo apt-get install -y musl-tools

- name: Install MUSL tools
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
run: su root -c "apk update && apk add musl-dev build-base"
shell: alpine.sh {0}

#- name: Install MUSL tools
# if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
# run: su root -c "apk update && apk add musl-dev build-base"
# shell: alpine.sh {0}
- name: Build
run: cargo build --release --target ${{ matrix.target }}
shell: alpine.sh {0}
Expand Down

0 comments on commit 43095a3

Please sign in to comment.