summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 29197abe4..2b05828c0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -109,6 +109,39 @@ jobs:
run: |
cabal test ${{ matrix.versions.cabalopts }} --enable-tests --disable-optimization --ghc-options=-Werror all
+ linux-stack:
+
+ runs-on: ubuntu-latest
+ strategy:
+ fail-fast: true
+ steps:
+ - uses: actions/checkout@v3
+
+ # needed by memory
+ - name: Install numa
+ run: sudo apt-get install libnuma-dev
+
+ # declare/restore cached things
+ - name: Cache stack global package db
+ id: stack-global
+ uses: actions/cache@v3
+ with:
+ path: |
+ ~/.stack
+ key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-stack-global-${{ secrets.CACHE_VERSION }}
+
+ - name: Cache stack work
+ id: stack-local
+ uses: actions/cache@v3
+ with:
+ path: |
+ .stack-work
+ key: ${{ runner.os }}-${{ matrix.versions.ghc }}-${{ matrix.versions.cabal }}-stack-local-${{ secrets.CACHE_VERSION }}
+
+ - name: Build and test
+ run: |
+ stack test --fast
+
windows:
runs-on: windows-2019