Skip to content

Commit

Permalink
Update meson.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsga committed Mar 1, 2024
1 parent cc48694 commit 5685e34
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions .github/workflows/meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,52 +20,45 @@ on:
- "NEWS"
- "README.md"

env:
APT_PACKAGES: |
autoconf \
automake \
meson \
ninja-build \
docbook-xsl \
libacl1-dev \
libavahi-client-dev \
libcrack2-dev \
libdb-dev \
libdbus-1-dev \
libdbus-glib-1-dev \
libevent-dev \
libgcrypt-dev \
libglib2.0-dev \
libkrb5-dev \
libldap2-dev \
libmysqlclient-dev \
libpam0g-dev \
libssl-dev \
libtalloc-dev \
libtool \
libtool-bin \
libtracker-sparql-3.0-dev \
libwrap0-dev \
systemtap-sdt-dev \
tcpd \
tracker \
xsltproc
jobs:
build-ubuntu:
if: false
name: Ubuntu
runs-on: ubuntu-22.04
container:
image: ubuntu:23.10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install --assume-yes --no-install-recommends ${{ env.APT_PACKAGES }}
apt-get update
apt-get install --assume-yes --no-install-recommends \
gcc \
meson \
ninja-build \
default-libmysqlclient-dev \
libacl1-dev \
libavahi-client-dev \
libcrack2-dev \
libdb-dev \
libdbus-1-dev \
libdbus-glib-1-dev \
libevent-dev \
libgcrypt-dev \
libglib2.0-dev \
libkrb5-dev \
libldap2-dev \
libltdl-dev \
libpam0g-dev \
libssl-dev \
libtalloc-dev \
libtracker-sparql-3.0-dev \
libwrap0-dev \
systemtap-sdt-dev \
tcpd \
tracker
- name: Configure
run: |
meson setup build \
-Dwith-docbook=/usr/share/xml/docbook/stylesheet/docbook-xsl \
-Dwith-tracker-pkgconfig-version=3.0 \
-Dbuild-tests=true
- name: Build
Expand All @@ -74,6 +67,7 @@ jobs:
run: cd build && meson test

build-debian:
if: false
name: Debian
runs-on: ubuntu-22.04
container:
Expand Down Expand Up @@ -111,14 +105,15 @@ jobs:
- name: Configure
run: |
meson setup build \
-Dwith-tracker-pkgconfig-version=2.0 \
-Dwith-tracker-pkgconfig-version=3.0 \
-Dbuild-tests=true
- name: Build
run: ninja -C build
- name: Run tests
run: cd build && meson test

build-fedora:
if: false
name: Fedora
runs-on: ubuntu-22.04
container:
Expand Down Expand Up @@ -158,6 +153,7 @@ jobs:
run: cd build && meson test

build-macos:
if: false
name: macOS
runs-on: macos-13
env:
Expand Down Expand Up @@ -220,6 +216,7 @@ jobs:
build-freebsd:
if: false
name: "FreeBSD"
runs-on: ubuntu-22.04
permissions:
Expand Down Expand Up @@ -255,6 +252,7 @@ jobs:
cd build && meson test
build-openbsd:
if: false
name: "OpenBSD"
runs-on: ubuntu-22.04
permissions:
Expand Down Expand Up @@ -289,6 +287,7 @@ jobs:
cd build && meson test
build-netbsd:
if: false
name: "NetBSD"
runs-on: ubuntu-22.04
permissions:
Expand Down Expand Up @@ -323,6 +322,7 @@ jobs:
ninja -C build
build-dflybsd:
if: false
name: "DragonflyBSD"
runs-on: ubuntu-22.04
permissions:
Expand Down

0 comments on commit 5685e34

Please sign in to comment.