Skip to content

Commit

Permalink
Try using alpine shell for build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmcgivery committed Nov 6, 2024
1 parent 5a41049 commit 15c2763
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/musl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
steps:
- uses: jirutka/setup-alpine@v1
if: ${{ matrix.target == 'x86_64-unknown-linux-musl' }}
with:
shell-name: alpine.sh

- uses: actions/checkout@v4
with:
Expand All @@ -39,8 +41,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
shell: alpine.sh {0}

- name: Build
run: cargo build --release --target ${{ matrix.target }}
shell: alpine.sh {0}
#env:
# V8_FROM_SOURCE: ${{ matrix.target == 'x86_64-unknown-linux-musl' && 'true' || 'false' }}

0 comments on commit 15c2763

Please sign in to comment.