diff --git a/.github/workflows/meson.yml b/.github/workflows/meson.yml index a26f2d8990..c738e7db48 100644 --- a/.github/workflows/meson.yml +++ b/.github/workflows/meson.yml @@ -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 @@ -74,6 +67,7 @@ jobs: run: cd build && meson test build-debian: + if: false name: Debian runs-on: ubuntu-22.04 container: @@ -111,7 +105,7 @@ 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 @@ -119,6 +113,7 @@ jobs: run: cd build && meson test build-fedora: + if: false name: Fedora runs-on: ubuntu-22.04 container: @@ -158,6 +153,7 @@ jobs: run: cd build && meson test build-macos: + if: false name: macOS runs-on: macos-13 env: @@ -220,6 +216,7 @@ jobs: build-freebsd: + if: false name: "FreeBSD" runs-on: ubuntu-22.04 permissions: @@ -255,6 +252,7 @@ jobs: cd build && meson test build-openbsd: + if: false name: "OpenBSD" runs-on: ubuntu-22.04 permissions: @@ -289,6 +287,7 @@ jobs: cd build && meson test build-netbsd: + if: false name: "NetBSD" runs-on: ubuntu-22.04 permissions: @@ -323,6 +322,7 @@ jobs: ninja -C build build-dflybsd: + if: false name: "DragonflyBSD" runs-on: ubuntu-22.04 permissions: