@@ -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 libelf 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 chafa libelf
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
@@ -417,8 +452,8 @@ jobs:
417452 version : ' 7.5'
418453 run : |
419454 uname -a
420- sudo pkg_add -r cmake git pkgconf wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 xfconf imagemagick chafa pulseaudio
421- cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
455+ sudo pkg_add -r cmake git pkgconf wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 xfconf imagemagick chafa pulseaudio py3-requests
456+ cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=ON .
422457 cmake --build . --target package --verbose -j4
423458 ./fastfetch --list-features
424459 time ./fastfetch -c presets/ci.jsonc --stat false
@@ -433,6 +468,42 @@ jobs:
433468 name : fastfetch-openbsd-amd64
434469 path : ./fastfetch-*.*
435470
471+ netbsd-amd64 :
472+ name : NetBSD-amd64
473+ runs-on : ubuntu-latest
474+ permissions :
475+ security-events : write
476+ contents : read
477+ steps :
478+ - name : checkout repository
479+ uses : actions/checkout@v4
480+
481+ - name : run VM
482+ uses : cross-platform-actions/action@master
483+ with :
484+ operating_system : netbsd
485+ architecture : x86-64
486+ cpu_count : 4
487+ shell : bash
488+ version : ' 10.0'
489+ run : |
490+ uname -a
491+ sudo pkgin -y install cmake git pkgconf wayland vulkan-headers dconf dbus sqlite3 ImageMagick pulseaudio opencl-headers ocl-icd py312-requests
492+ cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=ON .
493+ cmake --build . --target package --verbose -j4
494+ ./fastfetch --list-features
495+ time ./fastfetch -c presets/ci.jsonc --stat false
496+ time ./fastfetch -c presets/ci.jsonc --format json
497+ time ./flashfetch
498+ ldd fastfetch
499+ ctest
500+
501+ - name : upload artifacts
502+ uses : actions/upload-artifact@v4
503+ with :
504+ name : fastfetch-netbsd-amd64
505+ path : ./fastfetch-*.*
506+
436507 windows-amd64 :
437508 name : Windows-amd64
438509 runs-on : windows-latest
@@ -498,76 +569,6 @@ jobs:
498569 name : fastfetch-windows-amd64
499570 path : ./fastfetch-windows-amd64.*
500571
501- windows-i686 :
502- name : Windows-i686
503- runs-on : windows-latest
504- permissions :
505- security-events : write
506- contents : read
507- defaults :
508- run :
509- shell : msys2 {0}
510- steps :
511- - name : checkout repository
512- uses : actions/checkout@v4
513-
514- - name : setup-msys2
515- uses : msys2/setup-msys2@v2
516- with :
517- msystem : MINGW32
518- update : true
519- install : git p7zip mingw-w64-i686-cmake mingw-w64-i686-clang mingw-w64-i686-vulkan-loader mingw-w64-i686-vulkan-headers mingw-w64-i686-opencl-icd mingw-w64-i686-opencl-headers
520-
521- - name : print msys version
522- run : uname -a
523-
524- - name : Initialize CodeQL
525- uses : github/codeql-action/init@v3
526- with :
527- languages : c, cpp
528-
529- - name : configure project
530- run : env PKG_CONFIG_PATH=/mingw32/lib/pkgconfig/:$PKG_CONFIG_PATH cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
531-
532- - name : build project
533- run : cmake --build . --verbose -j4
534-
535- - name : perform CodeQL analysis
536- uses : github/codeql-action/analyze@v3
537-
538- - name : copy necessary dlls
539- run : cp /mingw32/bin/{OpenCL,vulkan-1}.dll .
540-
541- - name : download amd_ags
542- run : curl -LO https://github.com/GPUOpen-LibrariesAndSDKs/AGS_SDK/raw/master/ags_lib/lib/amd_ags_x86.dll
543-
544- - name : run fastfetch
545- run : time ./fastfetch -c presets/ci.jsonc --stat false
546-
547- - name : run fastfetch --format json
548- run : time ./fastfetch -c presets/ci.jsonc --format json
549-
550- - name : run flashfetch
551- run : time ./flashfetch
552-
553- - name : print dependencies
554- run : ldd fastfetch
555-
556- - name : run tests
557- run : ctest
558-
559- - name : create zip archive
560- run : 7z a -tzip -mx9 -bd -y fastfetch-windows-i686.zip LICENSE *.dll fastfetch.exe flashfetch.exe presets
561-
562- - name : create 7z archive
563- run : 7z a -t7z -mx9 -bd -y fastfetch-windows-i686.7z LICENSE *.dll fastfetch.exe flashfetch.exe presets
564-
565- - name : upload artifacts
566- uses : actions/upload-artifact@v4
567- with :
568- name : fastfetch-windows-i686
569- path : ./fastfetch-windows-i686.*
570-
571572 release :
572573 if : github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'fastfetch-cli/fastfetch'
573574 name : Release
@@ -581,9 +582,10 @@ jobs:
581582 - macos-universal
582583 - freebsd-amd64
583584 - openbsd-amd64
585+ - netbsd-amd64
586+ - dragonfly-amd64
584587 - sunos-amd64
585588 - windows-amd64
586- - windows-i686
587589 permissions :
588590 contents : write
589591 steps :
0 commit comments