-
Notifications
You must be signed in to change notification settings - Fork 10
45 lines (36 loc) · 1.19 KB
/
buildAndCache.yml
File metadata and controls
45 lines (36 loc) · 1.19 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:
push:
branches:
- main
jobs:
build:
strategy:
matrix:
os:
- ubuntu-latest # x86_64-linux
- macos-15-intel # x86_64-darwin
- macos-latest # aarch64-darwin
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: canidae-solutions/lix-quick-install-action@v3
- uses: cachix/cachix-action@v15
with:
name: pebble
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
# - name: Build pebble-tool
# run: nix build -L .#pebble-tool
- name: Build Core Devices pebble-tool
run: nix build -L .#coredevices.pebble-tool
- name: Build pebble-qemu
run: nix build -L .#pebble-qemu
- name: Build pebble-toolchain-bin
run: nix build -L .#pebble-toolchain-bin
# - name: Build arm-embedded-toolchain
# if: ${{ matrix.os != 'macos-latest' }}
# run: nix build -L .#arm-embedded-toolchain
- name: Build pebbleEnv
run: nix shell -f default.nix pebbleEnv --command sh -c "echo OK"
- name: Build pebbleEnv with Core Devices pebble-tool
run: nix shell -f default.nix pebbleEnv --arg withCoreDevices true --command sh -c "echo OK"