Skip to content

Commit

Permalink
Add alpine-32bit job
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed May 17, 2024
1 parent 858ebed commit e972896
Showing 1 changed file with 51 additions and 1 deletion.
52 changes: 51 additions & 1 deletion .github/workflows/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: haskell-actions/setup@v2
with:
ghc-version: ${{ matrix.ghc }}
cabal-version: '3.10.1.0'
cabal-version: '3.10.3.0'

- name: Cache
uses: actions/cache@v4
Expand All @@ -44,3 +44,53 @@ jobs:

- name: Test
run: cabal test all --enable-tests --test-show-details=direct

alpine-32bit:
name: Alpine Linux, musl, 32-bit
runs-on: ubuntu-latest
env:
CC: "gcc"
strategy:
matrix:
ghc: ['9.6.5','9.8.2']
steps:
- name: Checkout
uses: actions/checkout@v4

- name: "Setup latest Alpine Linux"
uses: jirutka/setup-alpine@v1
with:
arch: x86
branch: v3.17
packages: >
binutils-gold
curl
gcc
g++
git
gmp-dev
libc-dev
libffi-dev
make
musl-dev
ncurses-dev
openssh-client
perl
tar
tmux
zlib-dev
zlib-static
- name: "Setup"
run: |
gcc --version
make --version
curl https://downloads.haskell.org/ghcup/0.1.22.0/i386-linux-ghcup-0.1.22.0 > ghcup
chmod a+x ghcup
ghcup install ghc ${{matrix.ghc }}
ghcup install cabal 3.10.3.0
- name: Build
run: cabal build all --enable-tests

- name: Test
run: cabal test all --enable-tests --test-show-details=direct

0 comments on commit e972896

Please sign in to comment.