Skip to content

Commit

Permalink
.github/workflows: Enable testing on Ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
debarshiray committed Jun 5, 2024
1 parent 3de56c0 commit ec0f4c3
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .github/workflows/ubuntu-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,3 +149,56 @@ jobs:
TMPDIR: /var/tmp
TOOLBX: /usr/local/bin/toolbox
working-directory: containers/toolbox

ubuntu-noble-tests:
runs-on: ubuntu-24.04

steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Install deb packages
run: |
sudo apt-get update
sudo apt-get install \
apache2-utils \
bash-completion \
bats \
codespell \
fish \
gcc \
go-md2man \
golang \
libsubid-dev \
meson \
ninja-build \
openssl \
podman \
shellcheck \
skopeo \
systemd \
udisks2
- name: Download Go modules
run: go mod download -x
working-directory: src

- name: Set up build directory
run: meson setup --fatal-meson-warnings builddir

- name: Build
run: meson compile -C builddir --verbose

- name: Install
run: sudo meson install -C builddir

- name: Unit tests
run: meson test -C builddir --verbose

- name: System tests
run: bats --timing test/system/001-version.bats test/system/002-help.bats test/system/108-completion.bats
env:
TMPDIR: /var/tmp
TOOLBX: /usr/local/bin/toolbox

0 comments on commit ec0f4c3

Please sign in to comment.