Skip to content

Commit

Permalink
Add CI for openSUSE
Browse files Browse the repository at this point in the history
  • Loading branch information
thkukuk committed Jan 28, 2025
1 parent d8b28e8 commit 3933aec
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci-opensuse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: openSUSE build & test

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
container: registry.opensuse.org/opensuse/tumbleweed:latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install devel packages
run: |
zypper ref
zypper --non-interactive in --no-recommends meson gcc libeconf-devel systemd-devel sqlite3-devel audit-devel pam-devel docbook5-xsl-stylesheets
- name: Setup meson
run: meson setup build --auto-features=enabled -Db_sanitize=address,undefined

- name: Compile code
run: cd build && meson compile

- name: Run tests
run: cd build && meson test

0 comments on commit 3933aec

Please sign in to comment.