-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (36 loc) · 917 Bytes
/
ci.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
41
42
43
name: ci
on:
push:
branches:
- main
pull_request:
jobs:
test:
runs-on: linux-arm64
steps:
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Test Linux ARM64
run: |
nix build .#cursor.linux.arm64-targz
file result/*
nix build .#cursor.linux.arm64-appimage
file result/*
rm -rf result
- name: Test Linux ARM32 builds
run: |
nix build .#cursor.linux.arm32-targz
file result/*
nix build .#cursor.linux.arm32-appimage
file result/*
rm -rf result
- name: Test Windows ARM64 build
run: |
nix build .#cursor.windows.arm64-zip
file result/*
rm -rf result
- name: Test Nix build
run: |
nix build .#cursor.nix
cd result && ls -alh