Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed May 20, 2024
1 parent 4d5d92f commit 0f65f56
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cabal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ jobs:
- name: Install Dhall
run: cabal install dhall --with-compiler=ghc-${{ matrix.vers.ghc }} --ignore-project

- name: Configure the build
- name: Updo
run: |
cabal configure --enable-tests --enable-benchmarks --disable-documentation --with-compiler=ghc-${{ matrix.vers.ghc }}
cabal build all --dry-run --with-compiler=ghc-${{ matrix.vers.ghc }}
GHC_VERSION=${{ matrix.vers.ghc }} STACKAGE_VERSION=${{ matrix.vers.stackage }} make -f project-files.mk
- name: Build dry run
run: cabal build all --enable-tests --enable-benchmarks --dry-run

- name: Restore cached dependencies
uses: actions/cache/restore@v4
Expand All @@ -59,9 +61,7 @@ jobs:
key: ${{ steps.cache.outputs.cache-primary-key }}

- name: build
run: |
GHC_VERSION=${{ matrix.vers.ghc }} STACKAGE_VERSION=${{ matrix.vers.stackage }} make -f project-files.mk
cabal build all --enable-tests
run: cabal build all --enable-tests --enable-benchmarks

- name: test golden
run: cabal test test:golden --test-show-details=direct --test-option="--color=always"
8 changes: 8 additions & 0 deletions cabal.project.local
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
ignore-project: False
with-compiler: ghc-9.8.2
tests: True
benchmarks: True
documentation: False

package *
documentation: False

0 comments on commit 0f65f56

Please sign in to comment.