examples cleanup #12
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: examples | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-24.04 | |
strategy: | |
matrix: | |
example: | |
- uki | |
- bls | |
- unified | |
fail-fast: false | |
steps: | |
- name: Enable fs-verity on / | |
run: tune2fs -O verity $(findmnt -vno SOURCE /) | |
- name: Install dependencies | |
run: sudo apt-get install -y meson tmate | |
- name: Get a newer podman for heredoc support (from plucky) | |
run: | | |
set -eux | |
echo 'deb [trusted=yes] https://ftp.debian.org/debian/ testing main' | sudo tee /etc/apt/sources.list.d/testing.list | |
sudo apt update | |
sudo apt install -y crun/testing podman/testing skopeo/testing | |
- name: Install mkcomposefs | |
run: | | |
set -eux | |
git clone --depth=1 https://github.com/containers/composefs | |
cd composefs | |
meson setup build | |
ninja -C build tools/mkcomposefs | |
sudo cp -t /usr/local/bin build/tools/mkcomposefs | |
- uses: actions/checkout@v4 | |
- run: podman --version | |
- run: buildah --version | |
- run: skopeo --version | |
- run: examples/${{ matrix.example }}/build |