forked from hacl-star/hacl-star
-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (34 loc) · 821 Bytes
/
nix.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
name: Nix
on:
push:
branches-ignore: [ '_**' ]
pull_request:
workflow_dispatch:
permissions: {}
jobs:
nix:
runs-on: self-hosted
steps:
- name: checkout
uses: actions/checkout@v4
- name: build hacl
run: |
nix build -L .#hacl
- name: build logs
run: |
nix log .#hacl
- name: resource monitor
run: |
nix build .#hacl.passthru.resource-monitor
cat result/resources.txt
- name: generate artifacts
run: |
nix build .#hacl.passthru.build-products
- uses: actions/upload-artifact@v4
with:
name: hints.tar.gz
path: result/hints.tar.gz
- uses: actions/upload-artifact@v4
with:
name: dist.tar.gz
path: result/dist.tar.gz