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