-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (39 loc) · 1.05 KB
/
examples.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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: Install dependencies
run: sudo apt-get install -y meson
- name: Get a newer podman for heredoc support (from plucky)
run: |
set -eux
sed s/noble/plucky/ /etc/apt/sources.list.d/ubuntu.sources | sudo tee /etc/apt/sources.list.d/plucky.sources
sudo apt update
sudo apt install -y crun/plucky podman/plucky
- name: Install mkcomposefs
run: |
set -eux
git clone 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: examples/${{ matrix.example }}/build