Skip to content

Commit 2f97f45

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

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/integration-tests.yml

+6-5
Original file line numberDiff line numberDiff line change
@@ -182,15 +182,16 @@ jobs:
182182
if: needs.configuration.outputs.test-arm64 == 'true'
183183
uses: actions/checkout@v3
184184

185+
- name: Install deps
186+
shell: bash
187+
run: |
188+
curl -sSL https://get.haskellstack.org/ | sh
189+
185190
- name: Build bindist
186191
if: needs.configuration.outputs.test-arm64 == 'true'
187192
shell: bash
188193
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"
194+
stack etc/scripts/release.hs build --alpine
194195
195196
- name: Upload bindist
196197
if: needs.configuration.outputs.test-arm64 == 'true'

0 commit comments

Comments
 (0)