3# Trigger the workflow on push or pull request, but only for the master branch
11 name: ${{ matrix.os }} / ghc ${{ matrix.ghc }}
12 runs-on: ${{ matrix.os }}
26 - uses: actions/checkout@v2
28 - uses: haskell/actions/setup@v1
29 id: setup-haskell-cabal
32 ghc-version: ${{ matrix.ghc }}
33 cabal-version: ${{ matrix.cabal }}
37 cabal configure --enable-tests --enable-benchmarks --test-show-details=direct
40 - uses: actions/cache@v2.1.3
41 name: Cache ~/.cabal/store and dist-newstyle
44 ${{ steps.setup-haskell-cabal.outputs.cabal-store }}
46 key: ${{ runner.os }}-${{ matrix.ghc }}-${{ hashFiles('cabal.project.freeze') }}
48 ${{ runner.os }}-${{ matrix.ghc }}-
52 cabal install --ignore-project -j2 doctest --constraint='doctest ^>=0.20'
64 # Necessary for doctest to be found in $PATH
65 export PATH="$HOME/.cabal/bin:$PATH"
67 DOCTEST="cabal repl --with-ghc=doctest --ghc-options=-w"
68 (cd servant && eval $DOCTEST)
69 (cd servant-client && eval $DOCTEST)
70 (cd servant-client-core && eval $DOCTEST)
71 (cd servant-http-streams && eval $DOCTEST)
72 (cd servant-docs && eval $DOCTEST)
73 (cd servant-foreign && eval $DOCTEST)
74 (cd servant-server && eval $DOCTEST)
75 (cd servant-machines && eval $DOCTEST)
76 (cd servant-conduit && eval $DOCTEST)
77 (cd servant-pipes && eval $DOCTEST)
80 # name: stack / ghc ${{ matrix.ghc }}
81 # runs-on: ubuntu-latest
88 # - uses: actions/checkout@v2
90 # - uses: haskell/actions/setup@v1
91 # name: Setup Haskell Stack
93 # ghc-version: ${{ matrix.ghc }}
94 # stack-version: ${{ matrix.stack }}
96 # - uses: actions/cache@v2.1.3
97 # name: Cache ~/.stack
100 # key: ${{ runner.os }}-${{ matrix.ghc }}-stack
102 # - name: Install dependencies
104 # stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks --only-dependencies
108 # stack build --system-ghc --test --bench --no-run-tests --no-run-benchmarks
112 # stack test --system-ghc
115 name: ubuntu-latest / ghcjs 8.6
116 runs-on: "ubuntu-latest"
119 - uses: actions/checkout@v2
120 - uses: cachix/install-nix-action@v13
123 trusted-public-keys = ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=1aba6f367982bd6dd78ec2fda75ab246a62d32c5 cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
124 substituters = https://nixcache.reflex-frp.org https://cache.nixos.org/
127 # Override cabal.project with the lightweight GHCJS one
128 cp cabal.ghcjs.project cabal.project
130 nix-shell ghcjs.nix --run "cabal v2-update && cabal v2-freeze"
132 - uses: actions/cache@v2.1.3
133 name: Cache ~/.cabal/store and dist-newstyle
138 key: ${{ runner.os }}-ghcjs8.6-${{ hashFiles('cabal.project.freeze') }}
140 ${{ runner.os }}-ghcjs8.6-
144 nix-shell ghcjs.nix --run "cabal v2-build --ghcjs --enable-tests --enable-benchmarks all"
148 nix-shell ghcjs.nix --run ".github/run-ghcjs-tests.sh"
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list