-
Notifications
You must be signed in to change notification settings - Fork 52
37 lines (36 loc) · 1.09 KB
/
armhf_lxd.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
on: [push, pull_request]
jobs:
build_job:
strategy:
fail-fast: false
matrix:
include:
# series: "series24"
- series: "series22"
runner_os: "ubuntu-22.04"
- series: "series20"
runner_os: "ubuntu-22.04"
- series: "series18"
runner_os: "ubuntu-22.04"
- series: "series16"
runner_os: "ubuntu-20.04"
runs-on: ${{ matrix.runner_os }}
name: "Build: ${{ matrix.series }}"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Prepare the repo
run: |
cd checkbox-core-snap/
./prepare.sh ${{ matrix.series }}
- uses: docker/setup-qemu-action@v1
- uses: diddlesnaps/snapcraft-multiarch-action@v1
with:
architecture: armhf
snapcraft-channel: "stable"
path: "checkbox-core-snap/${{matrix.series}}"
- uses: actions/upload-artifact@v4
with:
path: "checkbox-core-snap/${{matrix.series}}/*.snap"
name: checkbox_runtime_${{matrix.series}}.snap