-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (34 loc) · 913 Bytes
/
mcl.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
name: "MCL"
on:
workflow_dispatch:
merge_group:
push:
branches:
- main
pull_request:
branches:
- main
workflow_call:
concurrency:
group: ${{ github.workflow }}-${{ github.repository }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
mcl-test:
runs-on: ubuntu-latest
name: Build and test MCL
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v9
with:
extra-conf: accept-flake-config = true
nix-installer-tag: v0.15.1
- uses: cachix/cachix-action@v14
with:
name: ${{ vars.CACHIX_CACHE }}
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
extraPullNames: ${{ vars.EXTRA_CACHIX_CACHES }}
- name: Build and test MCL
run: |
set -euo pipefail
nix build .#mcl