-
Notifications
You must be signed in to change notification settings - Fork 86
39 lines (39 loc) · 909 Bytes
/
build.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
name: "Build"
on:
push:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
distro:
- noetic
- humble
- iron
- jazzy
- rolling
system:
- x86_64-linux
- aarch64-linux
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v30
with:
extra_nix_config: |
max-jobs = 2
cores = 2
extra-platforms = aarch64-linux
- uses: docker/setup-qemu-action@v3
with:
platforms: arm64
- uses: cachix/cachix-action@v15
with:
name: ros
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
skipPush: true
- uses: ./.github/actions/nix-ros-build-action
with:
root-attribute: 'rosPackages.${{ matrix.distro }}'
system: '${{ matrix.system }}'
eval-jobs: 4
build-jobs: 2