diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml deleted file mode 100644 index 1b82536a..00000000 --- a/.builds/openbsd.yml +++ /dev/null @@ -1,23 +0,0 @@ -image: openbsd/latest -packages: - - libev - - xcb - - meson - - pkgconf - - cmake - - uthash - - libconfig - - dbus - - pcre2 -sources: - - https://github.com/yshui/picom -tasks: - - setup: | - cd picom - CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" meson setup -Dunittest=true --werror build - - build: | - cd picom - ninja -C build - - unittest: | - cd picom - ninja -C build test diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..00e2f844 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: openbsd +on: push + +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 1 + - uses: cross-platform-actions/action@v0.24.0 + with: + operating_system: openbsd + version: '7.5' + shell: bash + run: | + sudo pkg_add libev xcb meson pkgconf cmake uthash libconfig dbus pcre2 + CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" meson setup -Dunittest=true --werror build + ninja -C build + ninja -C build test +