Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit db4b860

Browse files
committed
Add alpine-32bit job
1 parent 3901bd4 commit db4b860

File tree

1 file changed

+66
-1
lines changed

1 file changed

+66
-1
lines changed

‎.github/workflows/simple.yml‎

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
uses: haskell-actions/setup@v2
3131
with:
3232
ghc-version: ${{ matrix.ghc }}
33-
cabal-version: '3.10.1.0'
33+
cabal-version: '3.10.3.0'
3434

3535
- name: Cache
3636
uses: actions/cache@v4
@@ -44,3 +44,68 @@ jobs:
4444

4545
- name: Test
4646
run: cabal test all --enable-tests --test-show-details=direct
47+
48+
alpine-32bit:
49+
name: Alpine Linux, musl, 32-bit
50+
runs-on: ubuntu-latest
51+
env:
52+
CC: "gcc"
53+
strategy:
54+
matrix:
55+
ghc: ['9.2.8']
56+
steps:
57+
- name: Checkout
58+
uses: actions/checkout@v4
59+
60+
- name: "Setup Alpine Linux"
61+
uses: jirutka/setup-alpine@v1
62+
with:
63+
arch: x86
64+
branch: v3.17
65+
packages: >
66+
binutils-gold
67+
curl
68+
gcc
69+
g++
70+
git
71+
gmp-dev
72+
libc-dev
73+
libffi-dev
74+
make
75+
musl-dev
76+
ncurses-dev
77+
openssh-client
78+
perl
79+
tar
80+
zlib-dev
81+
zlib-static
82+
83+
- name: "Setup"
84+
shell: alpine.sh {0}
85+
run: |
86+
gcc --version
87+
make --version
88+
curl https://downloads.haskell.org/ghcup/0.1.22.0/i386-linux-ghcup-0.1.22.0 > ghcup
89+
chmod a+x ghcup
90+
whoami
91+
echo $HOME
92+
GHCUP_INSTALL_BASE_PREFIX=$HOME ./ghcup install cabal 3.10.3.0 --set
93+
GHCUP_INSTALL_BASE_PREFIX=$HOME ./ghcup install ghc ${{matrix.ghc }} --set
94+
95+
- name: Update
96+
shell: alpine.sh {0}
97+
run: |
98+
export PATH=$HOME/.ghcup/bin:$PATH
99+
cabal update
100+
101+
- name: Build
102+
shell: alpine.sh {0}
103+
run: |
104+
export PATH=$HOME/.ghcup/bin:$PATH
105+
cabal build all --enable-tests
106+
107+
- name: Test
108+
shell: alpine.sh {0}
109+
run: |
110+
export PATH=$HOME/.ghcup/bin:$PATH
111+
cabal test all --enable-tests --test-show-details=direct

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /