Skip to content

Commit f013a60

Browse files
committed
CI: add SunOS
1 parent bb1586e commit f013a60

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,40 @@ jobs:
368368
name: fastfetch-macos-universal
369369
path: ./fastfetch-*.*
370370

371+
sunos-amd64:
372+
runs-on: ubuntu-latest
373+
name: SunOS-amd64
374+
steps:
375+
- name: checkout repository
376+
uses: actions/checkout@v4
377+
378+
- uses: actions/checkout@v4
379+
- name: run VM
380+
uses: vmactions/omnios-vm@v1
381+
with:
382+
usesh: true
383+
prepare: |
384+
uname -a
385+
pkg update --accept
386+
pkg install gcc13 cmake git pkg-config glib2 dbus sqlite-3 imagemagick
387+
388+
run: |
389+
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
390+
cmake --build . --target package --verbose -j4
391+
./fastfetch --list-features
392+
time ./fastfetch
393+
time ./fastfetch --format json
394+
time ./flashfetch
395+
ldd fastfetch
396+
ctest
397+
cpack
398+
399+
- name: upload artifacts
400+
uses: actions/upload-artifact@v4
401+
with:
402+
name: fastfetch-sunos-amd64
403+
path: ./fastfetch-*.*
404+
371405
freebsd-amd64:
372406
name: FreeBSD-amd64
373407
runs-on: ubuntu-latest
@@ -585,6 +619,7 @@ jobs:
585619
- macos-universal
586620
- freebsd-amd64
587621
- freebsd-aarch64
622+
- sunos-amd64
588623
- windows-amd64
589624
- windows-i686
590625
permissions:

0 commit comments

Comments
 (0)