Skip to content

Commit

Permalink
Speed up CI by disabling optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentRDC committed Nov 4, 2024
1 parent 70faf42 commit 6f9150e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

- name: Build
run: |
cabal configure --enable-tests --enable-benchmarks --test-show-details=direct
cabal configure --disable-optimization --enable-tests --test-show-details=direct
cabal build all
- name: Test
Expand Down Expand Up @@ -103,7 +103,7 @@ jobs:

- name: Build
run: |
stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --pedantic
stack build --fast --system-ghc --test --no-run-tests --pedantic
- name: Test
run: |
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
- name: Build
run: |
cd dist-newstyle/sdist/hakyll-*
cabal configure --enable-tests --enable-benchmarks --test-show-details=direct
cabal configure --disable-optimization --enable-tests --test-show-details=direct
cabal build all
- name: Test
Expand Down

0 comments on commit 6f9150e

Please sign in to comment.