From 35458421aef45475bc1145a22c4eaa7b7638fb65 Mon Sep 17 00:00:00 2001 From: pacien Date: Tue, 29 Jun 2021 13:19:02 +0200 Subject: ci: compile the portable version of the compiler So that the generated build artifacts and release tarballs are portable. --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 532c1f7..9395862 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,8 +45,10 @@ jobs: run: | STACK_ROOT=~/.stack # make it the same on all platforms stack setup --no-terminal - stack build --no-terminal - stack install --local-bin-path dist + stack build --no-terminal \ + --flag ldgallery-compiler:portable \ + --copy-bins \ + --local-bin-path dist - uses: actions/upload-artifact@v2 with: name: compiler-dist-${{ matrix.os }} -- cgit v1.2.3