kivu-webcam/gstreamer_h264_webcam_encoding : fix test failing #80
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Do a snap build | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name : Remove Docker | |
run: | | |
# https://github.com/canonical/lxd-cloud/blob/f20a64a8af42485440dcbfd370faf14137d2f349/test/includes/lxd.sh#L13-L23 | |
sudo rm -rf /etc/docker | |
sudo apt-get purge moby-buildx moby-engine moby-cli moby-compose moby-containerd moby-runc -y | |
sudo iptables -P FORWARD ACCEPT | |
- uses: actions/checkout@v3 | |
with: | |
# Fetch all of history so DM can determine its own version from git. | |
fetch-depth: 0 | |
- uses: snapcore/[email protected] | |
name: Build checkbox-kivu-classic snap | |
id: build | |
with: | |
snapcraft-channel: latest/stable | |
- name: Verify checkbox-kivu-classic snap | |
run: | | |
# Make sure it is installable. | |
sudo snap install checkbox22 | |
sudo snap install --dangerous --classic ${{ steps.build.outputs.snap }} | |