-
-
Notifications
You must be signed in to change notification settings - Fork 413
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
opt-out ghcjs because it doesn't compile with aeson2
- Loading branch information
1 parent
c225578
commit 7d3fd44
Showing
1 changed file
with
0 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,39 +86,3 @@ jobs: | |
(cd servant-machines && doctest src) | ||
(cd servant-conduit && doctest src) | ||
(cd servant-pipes && doctest src) | ||
ghcjs: | ||
name: ubuntu-latest / ghcjs 8.6 | ||
runs-on: "ubuntu-latest" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: cachix/install-nix-action@v13 | ||
with: | ||
extra_nix_config: | | ||
trusted-public-keys = ryantrinkle.com-1:JJiAKaRv9mWgpVAz8dwewnZe0AzzEAzPkagE9SP5NWI=1aba6f367982bd6dd78ec2fda75ab246a62d32c5 cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= | ||
substituters = https://nixcache.reflex-frp.org https://cache.nixos.org/ | ||
- name: Setup | ||
run: | | ||
# Override cabal.project with the lightweight GHCJS one | ||
cp cabal.ghcjs.project cabal.project | ||
cat cabal.project | ||
nix-shell ghcjs.nix --run "cabal v2-update && cabal v2-freeze" | ||
- uses: actions/[email protected] | ||
name: Cache ~/.cabal/store and dist-newstyle | ||
with: | ||
path: | | ||
~/.cabal/store | ||
dist-newstyle | ||
key: ${{ runner.os }}-ghcjs8.6-${{ hashFiles('cabal.project.freeze') }} | ||
restore-keys: | | ||
${{ runner.os }}-ghcjs8.6- | ||
- name: Build | ||
run: | | ||
nix-shell ghcjs.nix --run "cabal v2-build --ghcjs --enable-tests --enable-benchmarks all" | ||
- name: Tests | ||
run: | | ||
nix-shell ghcjs.nix --run ".github/run-ghcjs-tests.sh" |