mirror of
https://github.com/yshui/picom.git
synced 2025-04-14 17:53:25 -04:00
ci: use github actions for OpenBSD build
sr.ht CI broke. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
parent
2328d3efd7
commit
4b04a53b83
2 changed files with 21 additions and 23 deletions
|
@ -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
|
21
.github/workflows/ci.yml
vendored
Normal file
21
.github/workflows/ci.yml
vendored
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Reference in a new issue