-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (30 loc) · 1.04 KB
/
main.yml
File metadata and controls
38 lines (30 loc) · 1.04 KB
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
name: Haskell Debugger CI
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/master'
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: actions/checkout@v3.5.3
- uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixpkgs-unstable
- name: Nix channel update
run: nix-channel --update
- name: Cabal install
run: nix-env -iA pkgs.cabal-install -f .
- name: Cabal update
run: cabal update
- name: Install ghc, bzip2 and zlib as build-time dependencies
run: nix-env -iA pkgs.ghc pkgs.bzip2.dev pkgs.zlib.dev pkgs.zstd.dev -f .
- name: (x86 - C++) Build ext-stg-gc (souffle-produced reachability analysis for GC)
run: nix-build -A ext-stg-gc
- name: (x86 - GHC 9.6.6) Build dap-estgi-server w/ cabal
run: cabal build dap-estgi-server
- name: (x86 - GHC 9.6.6) Build dap-estgi-server w/ nix
run: nix-build -A dap-estgi-server