Skip to content

Commit

Permalink
Fix #6142 Build statically-linked Linux/Aarch64 Stack
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Aug 18, 2023
1 parent 459dd7e commit f45b33e
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,17 @@ jobs:
if: needs.configuration.outputs.test-arm64 == 'true'
uses: actions/checkout@v3

- name: Install deps
if: needs.configuration.outputs.test-arm64 == 'true'
shell: bash
run: |
curl -sSL https://get.haskellstack.org/ | sh
- name: Build bindist
if: needs.configuration.outputs.test-arm64 == 'true'
shell: bash
run: |
set -ex
docker build . -f etc/dockerfiles/arm64.Dockerfile -t stack --build-arg USERID=$(id -u) --build-arg GROUPID=$(id -g)
rm -rf _release
mkdir -p _release
docker run --rm -v $(pwd):/src -w /src stack bash -c "/home/stack/release build"
stack etc/scripts/release.hs build --alpine
- name: Upload bindist
if: needs.configuration.outputs.test-arm64 == 'true'
Expand Down

0 comments on commit f45b33e

Please sign in to comment.