-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (38 loc) · 1.03 KB
/
build.yml
File metadata and controls
45 lines (38 loc) · 1.03 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
39
40
41
42
43
44
45
name: build
on:
check_suite:
types: [completed]
# workflow_dispatch:
push:
# pull_request:
jobs:
build-machines:
strategy:
matrix:
os:
# - macos-latest
- ubuntu-latest
- ubuntu-24.04-arm
output:
- default
- nightly
runs-on: ${{ matrix.os }}
environment: production
steps:
- name: Cleanup host
uses: wimpysworld/nothing-but-nix@main
- name: Install Nix
uses: cachix/install-nix-action@v30
- name: Sync repository
uses: actions/checkout@v4
- uses: cachix/cachix-action@v14
with:
name: conorhk
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
useDaemon: false
installCommand: nix profile install nixpkgs#cachix
- run: nix --extra-experimental-features pipe-operators build -L .#${{ matrix.output }}
- name: Run :checkhealth
uses: ColinKennedy/nvim-checkhealth-gh-action@main
with:
executable: "./result/bin/nvim"