-
Notifications
You must be signed in to change notification settings - Fork 1
50 lines (41 loc) · 1.12 KB
/
smol-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
name: Smol - build
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
jobs:
build:
strategy:
matrix:
things:
- "make test-smol"
- "make test-smol-backend"
- "make test-smol-wasm"
- "make test-smol-modules"
- "make build-smol-repl"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Install LLVM and Clang
uses: KyleMayes/install-llvm-action@v1
with:
version: "14.0"
- uses: haskell-actions/setup@v2
id: setup-haskell-build-env
with:
ghc-version: '9.6.3'
cabal-version: '3.10.1.0'
- name: Cache Cabal build artifacts
uses: actions/cache@v3
with:
path: |
${{ steps.setup-haskell-build-env.outputs.cabal-store }}
dist-newstyle
key: ${{ runner.os }}-cabal-9.6.3-${{ hashFiles('cabal.project.freeze') }}
restore-keys: |
${{ runner.os }}-cabal-9.6.3
- name: Test!
run: "${{ matrix.command }}"