-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (36 loc) · 1.11 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
name: "Build systems"
on: [push]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [memes-ubuntu, macos-14]
runs-on: ${{ matrix.os }}
steps:
# - name: Maximize build space
# if: runner.os == 'Linux'
# uses: AdityaGarg8/remove-unwanted-software@v4
# with:
# remove-dotnet: 'true'
# remove-android: 'true'
# remove-haskell: 'true'
# remove-codeql: 'true'
# remove-docker-images: 'true'
# remove-large-packages: 'true'
# remove-cached-tools: 'true'
- uses: actions/[email protected]
- uses: DeterminateSystems/nix-installer-action@v16
with:
extra-conf: |
build-dir = /opt
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Setup Attic cache
uses: ryanccn/[email protected]
with:
endpoint: ${{ vars.ATTIC_ENDPOINT }}
cache: ${{ vars.ATTIC_CACHE }}
token: ${{ secrets.ATTIC_TOKEN }}
- name: Install omnix
run: nix --accept-flake-config profile install "github:juspay/omnix"
- run: om ci run -- --refresh -j auto --keep-going