-
Notifications
You must be signed in to change notification settings - Fork 56
52 lines (52 loc) · 1.35 KB
/
ci.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
name: ci
on:
push:
branches:
- master
pull_request:
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
compiler:
- ghc902
- ghc928
- ghc948
- ghc965
- ghc982
dhall:
- false
- true
swagger:
- false
- true
swaggerWrapper:
- false
- true
largeRecords:
- false
- true
exclude:
- swagger: false
swaggerWrapper: true
- compiler: ghc965
largeRecords: true
- compiler: ghc982
largeRecords: true
- compiler: ghc902
os: macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
name: Checkout
- uses: cachix/install-nix-action@v22
name: Install Nix
- uses: cachix/cachix-action@v12
name: Set up Cachix
with:
name: awakesecurity
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build --attr proto3-suite --argstr compiler "${{ matrix.compiler }}" --arg enableDhall "${{ matrix.dhall }}" --arg enableSwagger "${{ matrix.swagger }}" --arg swaggerWrapperFormat "${{ matrix.swaggerWrapper }}" --arg enableLargeRecords "${{ matrix.largeRecords }}"