Skip to content

Commit ec0f4c3

Browse files
committed
.github/workflows: Enable testing on Ubuntu 24.04
#1504
1 parent 3de56c0 commit ec0f4c3

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

.github/workflows/ubuntu-tests.yaml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,56 @@ jobs:
149149
TMPDIR: /var/tmp
150150
TOOLBX: /usr/local/bin/toolbox
151151
working-directory: containers/toolbox
152+
153+
ubuntu-noble-tests:
154+
runs-on: ubuntu-24.04
155+
156+
steps:
157+
- name: Checkout
158+
uses: actions/checkout@v4
159+
with:
160+
submodules: true
161+
162+
- name: Install deb packages
163+
run: |
164+
sudo apt-get update
165+
sudo apt-get install \
166+
apache2-utils \
167+
bash-completion \
168+
bats \
169+
codespell \
170+
fish \
171+
gcc \
172+
go-md2man \
173+
golang \
174+
libsubid-dev \
175+
meson \
176+
ninja-build \
177+
openssl \
178+
podman \
179+
shellcheck \
180+
skopeo \
181+
systemd \
182+
udisks2
183+
184+
- name: Download Go modules
185+
run: go mod download -x
186+
working-directory: src
187+
188+
- name: Set up build directory
189+
run: meson setup --fatal-meson-warnings builddir
190+
191+
- name: Build
192+
run: meson compile -C builddir --verbose
193+
194+
- name: Install
195+
run: sudo meson install -C builddir
196+
197+
- name: Unit tests
198+
run: meson test -C builddir --verbose
199+
200+
- name: System tests
201+
run: bats --timing test/system/001-version.bats test/system/002-help.bats test/system/108-completion.bats
202+
env:
203+
TMPDIR: /var/tmp
204+
TOOLBX: /usr/local/bin/toolbox

0 commit comments

Comments
 (0)