-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (44 loc) · 1.39 KB
/
wasm-calc-haskell.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: WASM calculator - build
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Cache cabal global package db
id: cabal-global
uses: actions/cache@v3
with:
path: ~/.cabal
key: ${{ runner.os }}-2-wasm-calc-cabal-global-${{ matrix.plan.ghc }}-${{ hashFiles('**.freeze') }}
restore-keys: |
${{ runner.os }}-2-wasm-calc-cabal-global-${{ matrix.plan.ghc }}
- name: Cache .cabal-work
uses: actions/cache@v3
with:
path: dist-newstyle
key: ${{ runner.os }}-2-wasm-calc-cabal-work-${{ matrix.plan.ghc }}-${{ hashFiles('**.freeze') }}
restore-keys: |
${{ runner.os }}-2-wasm-calc-cabal-work-${{ matrix.plan.ghc }}
- uses: haskell/actions/setup@v2
with:
ghc-version: '9.6.3'
cabal-version: '3.10.1.0'
- name: Build the universe
run: make build
- name: Test wasm-calc
run: make test-wasm-calc
- name: Test wasm-calc2
run: make test-wasm-calc2
- name: Test wasm-calc3
run: make test-wasm-calc3
- name: Test wasm-calc4
run: make test-wasm-calc4
- name: Test wasm-calc5
run: make test-wasm-calc5