We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d50e147 commit 0006e8fCopy full SHA for 0006e8f
.github/workflows/publish.yaml
@@ -4,7 +4,6 @@ on:
4
push:
5
branches:
6
- main
7
- pull_request:
8
9
jobs:
10
publish-charm:
.github/workflows/rock.yaml
@@ -0,0 +1,23 @@
1
+name: Build the rock on PRs
2
+
3
+on:
+ pull_request:
+jobs:
+ build-rock:
+ name: Build the rock
+ strategy:
+ fail-fast: false
11
+ max-parallel: 1
12
+ matrix:
13
+ arch: [amd64, arm64]
14
+ runs-on: [self-hosted, linux, "${{ matrix.arch }}"]
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: setup lxd
18
+ uses: canonical/setup-lxd@v0.1.2
19
+ - name: build rock
20
+ run: |
21
+ set -x
22
+ sudo snap install --channel latest/stable --classic rockcraft
23
+ rockcraft pack --verbosity trace
0 commit comments