Skip to content

Commit

Permalink
apk in root
Browse files Browse the repository at this point in the history
  • Loading branch information
keesverruijt committed Sep 24, 2024
1 parent 6073cf8 commit e72853f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,17 @@ jobs:
- uses: actions/checkout@v4
- name: Setup latest Alpine linux
uses: jirutka/[email protected]
- name: Build in Alpine chroot
- name: Prepare Alpine chroot
run: |
apk add git curl bash g++ musl-dev make perl
curl -sSf https://sh.rustup.rs | bash -s -- -y
shell: alpine.sh --root {0}
- name: Build in Alpine chroot
run: |
echo "$PATH"
PATH="$HOME/.cargo/bin:$PATH"
cargo build --release
shell: alpine.sh {0}
shell: alpine.sh --root {0}
- name: Run tests
run: |
PATH="$HOME/.cargo/bin:$PATH"
Expand Down

0 comments on commit e72853f

Please sign in to comment.