-
Notifications
You must be signed in to change notification settings - Fork 15
47 lines (42 loc) · 969 Bytes
/
ci.yml
File metadata and controls
47 lines (42 loc) · 969 Bytes
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
46
47
name: CI Pipeline for ghostcript-printer-app
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
workflow_dispatch:
jobs:
build-rock:
strategy:
matrix:
include:
- arch: 'amd64'
runner: ubuntu-22.04
- arch: 'arm64'
runner: ubuntu-22.04-arm
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Pack with Rockcraft
uses: canonical/craft-actions/rockcraft-pack@main
id: rockcraft
build-snap:
strategy:
matrix:
include:
- arch: 'amd64'
runner: ubuntu-22.04
- arch: 'arm64'
runner: ubuntu-22.04-arm
runs-on: ${{ matrix.runner }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build Snap Package
uses: snapcore/action-build@v1
id: snapcraft