Skip to content

Commit

Permalink
Update meson.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
dgsga committed Feb 27, 2024
1 parent 719c706 commit 0e6a332
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions .github/workflows/meson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ env:
jobs:
build-ubuntu:
name: Ubuntu
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
Expand All @@ -70,9 +70,9 @@ jobs:

build-debian:
name: Debian
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
container:
image: debian:oldstable
image: debian:bookworm
steps:
- uses: actions/checkout@v3
- name: Install dependencies
Expand Down Expand Up @@ -124,7 +124,7 @@ jobs:
run: |
dnf -y install \
meson \
ninja \
ninja-build \
avahi-devel \
cracklib-devel \
dbus-devel \
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:
meson setup build \
-Dwith-bdb=/usr/local/opt/berkeley-db \
-Dwith-ssl-dir=/usr/local/opt/libressl \
-Dbuild-tests=true
-Dbuild-tests=false
- name: Build
run: ninja -C build
- name: Run tests
Expand Down Expand Up @@ -194,7 +194,6 @@ jobs:
source .profile
/opt/local/bin/pkgin -y install \
meson \
ninja \
avahi \
db5 \
gnome-tracker \
Expand Down Expand Up @@ -227,7 +226,6 @@ jobs:
prepare: |
pkg install -y \
meson \
ninja \
avahi \
bison \
db5 \
Expand Down Expand Up @@ -262,7 +260,6 @@ jobs:
prepare: |
pkg_add -I \
meson \
ninja \
avahi \
bison \
dbus-glib \
Expand All @@ -273,16 +270,8 @@ jobs:
libgcrypt \
libtalloc \
tracker3 \
wget
wget https://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
tar -xvzf db-5.3.28.tar.gz
cd db-5.3.28/build_unix
../dist/configure
make -j2
make install
run: |
meson setup build
-Dwith-bdb=/usr/local/BerkeleyDB.5.3 \
-Dwith-tracker-pkgconfig-version=3.0 \
-Dpkg_config_path=/usr/local/lib/pkgconfig \
-Dbuild_tests=true
Expand All @@ -304,7 +293,6 @@ jobs:
prepare: |
pkg_add \
meson \
ninja \
avahi \
bison \
db5 \
Expand All @@ -328,7 +316,6 @@ jobs:
cd build && meson test
build-dflybsd:
if: false
name: "DragonflyBSD"
runs-on: ubuntu-22.04
permissions:
Expand All @@ -337,13 +324,12 @@ jobs:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: "Build on VM"
uses: vmactions/dragonflybsd-vm@v1.0.3
uses: vmactions/dragonflybsd-vm@v1
with:
copyback: false
prepare: |
pkg install -y \
autoconf \
automake \
meson
avahi \
db5 \
gmake \
Expand Down

0 comments on commit 0e6a332

Please sign in to comment.