Skip to content

Commit

Permalink
Change pgt build to create binary
Browse files Browse the repository at this point in the history
dkubb committed Nov 9, 2023
1 parent 5aef042 commit 4daf5de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -75,7 +75,11 @@ jobs:
- name: Install dependencies
run: ./stack build --test --only-dependencies
- name: Build
if: matrix.project != 'pgt'
run: ./stack build --fast --test --no-run-tests ${{ matrix.project }}
- name: Build pgt binary
if: matrix.project == 'pgt'
run: ./stack build --fast --test --no-run-tests --copy-bins --flag pgt:build-executable ${{ matrix.project }}
- name: Run tests
run: ./stack build --fast --test ${{ matrix.project }}
all-checks:

0 comments on commit 4daf5de

Please sign in to comment.