File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : GHC-WPC CI
2+ on :
3+ push :
4+ branches :
5+ - master
6+ pull_request :
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ if : github.ref != 'refs/heads/master'
12+ steps :
13+ - uses : DeterminateSystems/nix-installer-action@main
14+ - name : Cancel Previous Runs
15+ uses : styfle/cancel-workflow-action@0.9.1
16+ with :
17+ access_token : ${{ github.token }}
18+
19+ - name : Nix channel update
20+ run : nix-channel --update
21+
22+ - name : Cabal install
23+ run : nix-env -iA cabal-install -f '<nixpkgs>'
24+
25+ - name : Build external-stg-interpreter
26+ run : nix-shell -p ghc -p bzip2.dev -p zlib.dev --run 'cabal build external-stg-interpreter'
27+
28+ - name : Test external-stg-interpreter
29+ run : nix-shell -p 'haskellPackages.ghcWithPackages (p: with p; [ hspec-discover ])' --run 'cabal test external-stg-interpreter'
You can’t perform that action at this time.
0 commit comments