From c8195eff8ff791d8b8a9afc20d3ef7216066b266 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Mon, 24 Jun 2024 11:39:39 +0100 Subject: [PATCH] ci: stop using sr.ht It's sad but this decision is purely practical, as recently we saw a decrease in the reliability of sr.ht. Signed-off-by: Yuxuan Shui --- .builds/freebsd.yml | 28 ----------------------- .github/workflows/freebsd.yml | 21 +++++++++++++++++ .github/workflows/{ci.yml => openbsd.yml} | 0 3 files changed, 21 insertions(+), 28 deletions(-) delete mode 100644 .builds/freebsd.yml create mode 100644 .github/workflows/freebsd.yml rename .github/workflows/{ci.yml => openbsd.yml} (100%) diff --git a/.builds/freebsd.yml b/.builds/freebsd.yml deleted file mode 100644 index a16f8d8b..00000000 --- a/.builds/freebsd.yml +++ /dev/null @@ -1,28 +0,0 @@ -image: freebsd/latest -packages: - - libev - - libxcb - - meson - - pkgconf - - cmake - - xcb-util-renderutil - - xcb-util-image - - pixman - - uthash - - libconfig - - libglvnd - - libepoxy - - dbus - - pcre -sources: - - https://github.com/yshui/picom -tasks: - - setup: | - cd picom - CPPFLAGS="-I/usr/local/include" meson setup -Dunittest=true --werror build - - build: | - cd picom - ninja -C build - - unittest: | - cd picom - ninja -C build test diff --git a/.github/workflows/freebsd.yml b/.github/workflows/freebsd.yml new file mode 100644 index 00000000..d3167c91 --- /dev/null +++ b/.github/workflows/freebsd.yml @@ -0,0 +1,21 @@ +name: freebsd +on: push + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + - uses: cross-platform-actions/action@6acac3ca1b632aa762721d537dea32398ba0f2b1 + with: + operating_system: freebsd + version: '14.1' + shell: bash + run: | + sudo pkg install -y libev libxcb meson pkgconf cmake xcb-util-renderutil xcb-util-image pixman uthash libconfig libglvnd libepoxy dbus pcre2 + CPPFLAGS="-I/usr/local/include" meson setup -Dunittest=true --werror build + ninja -C build + ninja -C build test + diff --git a/.github/workflows/ci.yml b/.github/workflows/openbsd.yml similarity index 100% rename from .github/workflows/ci.yml rename to .github/workflows/openbsd.yml