Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] .github/workflows: Enable testing on Ubuntu 24.04 #1504

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
.github/workflows: Enable testing on Ubuntu 24.04
debarshiray committed Jun 5, 2024
commit ec0f4c3f91cfeca094ce3a11b5d68964c3ca4b2e
53 changes: 53 additions & 0 deletions .github/workflows/ubuntu-tests.yaml
Original file line number Diff line number Diff line change
@@ -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