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 2f97f45
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,15 +182,16 @@ jobs:
if: needs.configuration.outputs.test-arm64 == 'true'
uses: actions/checkout@v3

- name: Install deps
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 2f97f45

Please sign in to comment.