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 <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui 2024-06-24 11:39:39 +01:00
parent ae73f45ad9
commit c8195eff8f
No known key found for this signature in database
GPG Key ID: D3A4405BE6CC17F4
3 changed files with 21 additions and 28 deletions

View File

@ -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

21
.github/workflows/freebsd.yml vendored Normal file
View File

@ -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