From 6f9150e7ddec42fcd94885a45f09b35a9b3ec2d8 Mon Sep 17 00:00:00 2001 From: Laurent Rene de Cotret Date: Mon, 4 Nov 2024 07:23:12 -0500 Subject: [PATCH] Speed up CI by disabling optimization --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1597dee4..ef7f4360 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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: | @@ -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