File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change 1+ name : " Release testing, Hackage, Cabal, Linux"
2+
3+ on :
4+ release :
5+ # created: a draft is saved, or a release or pre-release is published without previously being saved as a draft
6+ types : [ created ]
7+
8+ jobs :
9+
10+ build10 :
11+ name : " GHC"
12+ runs-on : ubuntu-latest
13+ strategy :
14+ matrix :
15+ packageRoots : [ ./hnix-store-core, ./hnix-store-remote ]
16+ # Since CI by default tests boundary GHCs, test middle versions of GHCs
17+ ghc : [ "8.8", "8.6"]
18+ defaults :
19+ run :
20+ working-directory : " ${{ matrix.packageRoots }}"
21+ steps :
22+ - uses : actions/checkout@v2
23+ with :
24+ submodules : recursive
25+ - name : Cache of ~/.cabal/packages, ~/.cabal/store and dist-newstyle
26+ uses : actions/cache@v2
27+ with :
28+ path : |
29+ ~/.cabal/packages
30+ ~/.cabal/store
31+ dist-newstyle
32+ key : ${{ runner.os }}-Cabal-${{ matrix.ghc }}
33+ - uses : haskell/actions/setup@v1
34+ with :
35+ ghc-version : ${{ matrix.ghc }}
36+ - name : " Install additional system packages"
37+ run : sudo apt install libsodium-dev
38+ - run : cabal v2-install tasty-discover
39+ # 2020-08-01: NOTE: Nix instantiate still needed for HNix tests
40+ - name : " Install Nix"
41+ uses : cachix/install-nix-action@v12
42+ - run : cabal v2-configure --disable-optimization --enable-tests --enable-deterministic
43+ - run : cabal v2-build
44+ - run : cabal v2-test
You can’t perform that action at this time.
0 commit comments