-
Notifications
You must be signed in to change notification settings - Fork 13
52 lines (52 loc) · 1.6 KB
/
build.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: "Build"
on: [pull_request, push]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository code
uses: actions/checkout@v3
with:
submodules: recursive
- name: List files in the repository
run: |
ls ${{ github.workspace }}
- name: Install nix
uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: build fficxx-runtime (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.fficxx-runtime
- name: build fficxx (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.fficxx
- name: build stdcxx (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.stdcxx
- name: build fficxx-test (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.fficxx-test
- name: build fficxx-multipkg-test (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.fficxx-multipkg-test
- name: build tmf-test (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.tmf-test
- name: build tmpl-dep-test (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.tmpl-dep-test
- name: build tmpl-dup-inst (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.tmpl-dup-inst
- name: build tmpl-toplevel-test (GHC 9.6.2)
run: |
nix build --print-build-logs .#ghc962.tmpl-toplevel-test
format:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
# ormolu 0.5.0.1
- uses: mrkkrp/ormolu-action@v14
with:
version: 0.5.0.1