From 01e625bb2dff5a97d827b666cd8577b563844716 Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Wed, 13 Mar 2024 14:00:38 +0000 Subject: [PATCH] Include check compile on FreeBSD as a GitHub action --- .github/workflows/check-compile-freebsd.yml | 32 +++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/check-compile-freebsd.yml diff --git a/.github/workflows/check-compile-freebsd.yml b/.github/workflows/check-compile-freebsd.yml new file mode 100644 index 00000000..3a94b3c3 --- /dev/null +++ b/.github/workflows/check-compile-freebsd.yml @@ -0,0 +1,32 @@ +name: Geeqie check compile FreeBSD +run-name: ${{ github.actor }} is running Geeqie check compile FreeBSD +on: [push, pull_request] +jobs: + Check-Compile-FreeBSD: + runs-on: ubuntu-latest + env: + CXXFLAGS: "-Wno-deprecated-declarations -Wno-deprecated -g3" + steps: + - uses: actions/checkout@v4 + - name: Check compile on FreeBSD + uses: vmactions/freebsd-vm@v1 + with: + envs: 'CXXFLAGS' + usesh: true + prepare: | + pkg install -y meson pkgconf evdev-proto libgudev libxml++ bash libevdev + pkg install -y desktop-file-utils gettext-tools gnome libarchive + pkg install -y curl + pkg install -y at-spi2-core + pkg install -y gettext + pkg install -y gtk3 + run: | + meson setup build + meson compile -C build --verbose > ./build/meson-logs/meson-log-compile.txt + - name: Upload logs + uses: actions/upload-artifact@v2 + if: always() + with: + name: logs-compile-freebsd + path: ${{ github.workspace }}/build/meson-logs/*.txt + retention-days: 5 -- 2.20.1