Skip to content

Commit 9610912

Browse files
committed
CI: build on DragonFly
1 parent 282ed9b commit 9610912

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

.github/workflows/ci.yml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ jobs:
381381
run: |
382382
uname -a
383383
sudo pkg update
384-
sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl xfce4-conf egl libosmesa opencl ocl-icd v4l_compat py311-requests
384+
sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl xfce4-conf egl libosmesa opencl ocl-icd v4l_compat py311-requests chafa
385385
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On .
386386
cmake --build . --target package --verbose -j4
387387
./fastfetch --list-features
@@ -397,6 +397,41 @@ jobs:
397397
name: fastfetch-freebsd-amd64
398398
path: ./fastfetch-*.*
399399

400+
dragonfly-amd64:
401+
name: DragonFly-amd64
402+
runs-on: ubuntu-latest
403+
permissions:
404+
security-events: write
405+
contents: read
406+
steps:
407+
- name: checkout repository
408+
uses: actions/checkout@v4
409+
410+
- name: run VM
411+
uses: vmactions/dragonflybsd-vm@v1
412+
with:
413+
usesh: yes
414+
prepare: |
415+
uname -a
416+
pkg update
417+
pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl xfce4-conf egl libosmesa opencl ocl-icd v4l_compat py39-requests
418+
419+
run: |
420+
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On .
421+
cmake --build . --target package --verbose -j4
422+
./fastfetch --list-features
423+
time ./fastfetch -c presets/ci.jsonc --stat false
424+
time ./fastfetch -c presets/ci.jsonc --format json
425+
time ./flashfetch
426+
ldd fastfetch
427+
ctest
428+
429+
- name: upload artifacts
430+
uses: actions/upload-artifact@v4
431+
with:
432+
name: fastfetch-dragonfly-amd64
433+
path: ./fastfetch-*.*
434+
400435
openbsd-amd64:
401436
name: OpenBSD-amd64
402437
runs-on: ubuntu-latest
@@ -618,6 +653,7 @@ jobs:
618653
- freebsd-amd64
619654
- openbsd-amd64
620655
- netbsd-amd64
656+
- dragonfly-amd64
621657
- sunos-amd64
622658
- windows-amd64
623659
- windows-i686

0 commit comments

Comments
 (0)