aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorpacien2021-06-29 13:19:02 +0200
committerpacien2021-06-29 13:19:02 +0200
commit35458421aef45475bc1145a22c4eaa7b7638fb65 (patch)
tree571c778c87df7d62eebdd254f49a0d789abbf479 /.github/workflows
parent671a372d87ff8311956f9158e8885ffc254fe1bc (diff)
downloadldgallery-35458421aef45475bc1145a22c4eaa7b7638fb65.tar.gz
ci: compile the portable version of the compiler
So that the generated build artifacts and release tarballs are portable.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml6
1 files 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:
45 run: | 45 run: |
46 STACK_ROOT=~/.stack # make it the same on all platforms 46 STACK_ROOT=~/.stack # make it the same on all platforms
47 stack setup --no-terminal 47 stack setup --no-terminal
48 stack build --no-terminal 48 stack build --no-terminal \
49 stack install --local-bin-path dist 49 --flag ldgallery-compiler:portable \
50 --copy-bins \
51 --local-bin-path dist
50 - uses: actions/upload-artifact@v2 52 - uses: actions/upload-artifact@v2
51 with: 53 with:
52 name: compiler-dist-${{ matrix.os }} 54 name: compiler-dist-${{ matrix.os }}