From dc221d0aa6e3c4918c3bb0c06c6f284e7f8f08ca 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 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 a16f8d8bac..0000000000 --- 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 0000000000..22308be620 --- /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_add libev libxcb meson pkgconf cmake xcb-util-renderutil xcb-util-image pixman uthash libconfig libglvnd libepoxy dbus pcre + 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