forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) · 829 Bytes
/
ci-macos-quick.yaml
File metadata and controls
34 lines (29 loc) · 829 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
name: MacOS quick checks
on:
# Only run on pull requests: not pushes
pull_request:
branches: ["master", "release/**", "fde-manager-features"]
jobs:
macos-quick:
runs-on: macos-latest
steps:
- uses: actions/setup-go@v6
with:
go-version: stable
- name: Checkout code
uses: actions/checkout@v6
- name: Install squashfs from homebrew
run: |
brew install squashfs
- name: Build quick checks
run: |
go mod vendor
./mkversion.sh
go build -tags nosecboot -o /tmp/snp ./cmd/snap
- name: Runtime quick checks
run: |
/tmp/snp download hello
/tmp/snp version
if command -v mksquashfs; then
/tmp/snp pack tests/lib/snaps/test-snapd-tools/ /tmp
fi