Skip to content

Commit

Permalink
ci: Add Alpine linux (chroot)
Browse files Browse the repository at this point in the history
  • Loading branch information
okuoku committed Sep 11, 2022
1 parent 83bb607 commit ddc2579
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,4 +271,30 @@ jobs:
shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'


build-dist-alpine: # So we can check on musl
name: "Alpine chroot (Using Ubuntu bootstrap)"
needs: build-linux
runs-on: ubuntu-latest
steps:
- name: "Setup Alpine chroot"
uses: jirutka/setup-alpine@v1
- name: "Install prerequisites"
run: apk add gcc g++ make gmp-dev oniguruma-dev pkgconfig
shell: alpine.sh {0}
- name: "Download artifact"
uses: actions/download-artifact@v3
with:
name: source-ubuntu-latest
path: build
- name: "Extract artifact"
run: tar -C / zxvf ${{ env.mosh_latest }}.tar.gz
shell: alpine.sh {0}
- name: "Build & Test"
run: |
cd /${{ env.mosh_latest}} &&
./configure &&
make -j4 &&
make test &&
make install
shell: alpine.sh {0}

0 comments on commit ddc2579

Please sign in to comment.