-
Notifications
You must be signed in to change notification settings - Fork 52
42 lines (39 loc) · 1.21 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
38
39
40
41
42
on: [push, pull_request]
jobs:
build_job:
strategy:
fail-fast: false
matrix:
include:
#- snapcraft_channel: "8.x"
# series: "series24"
- snapcraft_channel: "8.x"
series: "series22"
- snapcraft_channel: "8.x"
series: "series20"
- snapcraft_channel: "7.x"
series: "series18"
- snapcraft_channel: "4.x"
series: "series16"
runs-on: ubuntu-22.04
name: "Build: ${{ matrix.series }} (Snapcraft ${{ matrix.snapcraft_channel }})"
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: ${{ matrix.snapcraft_channel }}
path: "checkbox-core-snap/${{matrix.series}}"
- name: Show the artifact
run: |
ls checkbox-core-snap/series22
- uses: actions/upload-artifact@v4
with:
path: "checkbox-core-snap/${{matrix.series}}/*.snap"