-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 987 Bytes
/
plutus.yaml
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
name: "plutus"
on:
pull_request:
push:
jobs:
tests:
name: plutus build configuration check
runs-on: ubuntu-latest
steps:
- uses: jlumbroso/free-disk-space@main
with:
tool-cache: true
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
- uses: actions/checkout@v4
# Flakes do not like shallow clones
with:
fetch-depth: 0
# TODO: agondek
# This is just embarassing, please improve
- name: ""
run: >
sed -i 's/default = true;/default = false;/g' cfg/fonts/default.nix && git add -A
- uses: cachix/install-nix-action@v22
with:
install_url: "https://releases.nixos.org/nix/nix-2.18.5/install"
extra_nix_config: |2
experimental-features = nix-command flakes
- run: nix flake check
- run: nix build .#nixosConfigurations.plutus.config.system.build.toplevel -L