Skip to content

Commit f45b33e

Browse files
committed
Fix #6142 Build statically-linked Linux/Aarch64 Stack
1 parent 459dd7e commit f45b33e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/integration-tests.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -182,15 +182,17 @@ jobs:
182182
if: needs.configuration.outputs.test-arm64 == 'true'
183183
uses: actions/checkout@v3
184184

185+
- name: Install deps
186+
if: needs.configuration.outputs.test-arm64 == 'true'
187+
shell: bash
188+
run: |
189+
curl -sSL https://get.haskellstack.org/ | sh
190+
185191
- name: Build bindist
186192
if: needs.configuration.outputs.test-arm64 == 'true'
187193
shell: bash
188194
run: |
189-
set -ex
190-
docker build . -f etc/dockerfiles/arm64.Dockerfile -t stack --build-arg USERID=$(id -u) --build-arg GROUPID=$(id -g)
191-
rm -rf _release
192-
mkdir -p _release
193-
docker run --rm -v $(pwd):/src -w /src stack bash -c "/home/stack/release build"
195+
stack etc/scripts/release.hs build --alpine
194196
195197
- name: Upload bindist
196198
if: needs.configuration.outputs.test-arm64 == 'true'

0 commit comments

Comments
 (0)