mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-04-30 20:54:26 +00:00
ci: add github action to test the snap
Add github action to test that the snap package was generated correctly, this CI don't test the snap, it just build it. fixes #838 Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
parent
1d5eab42d6
commit
aa8eefd813
15
.github/workflows/snap.yaml
vendored
Normal file
15
.github/workflows/snap.yaml
vendored
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
name: snap CI
|
||||||
|
on: ["pull_request"]
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- name: Check out
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Install Snapcraft
|
||||||
|
uses: samuelmeuli/action-snapcraft@v1
|
||||||
|
|
||||||
|
- name: Build snap
|
||||||
|
run: |
|
||||||
|
snapcraft -d snap --destructive-mode
|
Loading…
Reference in New Issue
Block a user