git.iko.soy/rowtype-yoga/purescript-arraybuffer-builder
on master help sign in
CI for purs 0.14
commit0730e79acdd48faa557b0a99b0eefd7b2dc95e1a authorJames Brock <jamesbrock@gmail.com> dateThu 29 Apr 2021, 16:46 (5 years ago) parente6bd46b
2 files changed+32−8
.github/workflows/push-build.yml+30−7 shell.nix+2−1
.github/workflows/push-build.yml+30−7
@@ -8,10 +8,33 @@ jobs:
88 runs-on: ubuntu-latest
99
1010 steps:
11− - uses: actions/checkout@v2
12− - uses: actions/setup-node@v1
13− - run: npm install -g purescript
14− - run: npm install -g spago
15− - name: build
16− run: |
17− spago -x test.dhall test
11+ # https://github.com/cachix/install-nix-action
12+ - uses: actions/checkout@v2.3.4
13+ - uses: cachix/install-nix-action@v13
14+ with:
15+ nix_path: nixpkgs=channel:nixos-unstable
16+ - run: nix-shell --command 'spago -x test.dhall test'
17+
18+ # https://github.com/purescript-contrib/setup-purescript
19+
20+ # - uses: actions/checkout@v2
21+ # - name: Set up a PureScript toolchain
22+ # uses: purescript-contrib/setup-purescript@main
23+ # with:
24+ # purescript: "0.14.1"
25+ # spago: "0.20.1"
26+
27+# - name: Cache PureScript dependencies
28+# uses: actions/cache@v2
29+# # This cache uses the .dhall files to know when it should reinstall
30+# # and rebuild packages. It caches both the installed packages from
31+# # the `.spago` directory and compilation artifacts from the `output`
32+# # directory. When restored the compiler will rebuild any files that
33+# # have changed. If you do not want to cache compiled output, remove
34+# # the `output` path.
35+# with:
36+# key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
37+# path: |
38+# .spago
39+
40+ # - run: spago -x test.dhall test
shell.nix+2−1
@@ -1,7 +1,8 @@
11{ pkgs ? import <nixpkgs> { } }:
22let
33 easy-ps = import (builtins.fetchGit {
4− url = "git@github.com:justinwoo/easy-purescript-nix.git";
4+ # url = "git@github.com:justinwoo/easy-purescript-nix.git";
5+ url = "https://github.com/justinwoo/easy-purescript-nix.git";
56 ref = "master";
67 rev = "dae91f43317fd5ff207e11ea6bf4b6130e4ba9fc";
78 }) { inherit pkgs; };