diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3278fbe83..023af3321 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -368,6 +368,40 @@ jobs: name: fastfetch-macos-universal path: ./fastfetch-*.* + sunos-amd64: + runs-on: ubuntu-latest + name: SunOS-amd64 + steps: + - name: checkout repository + uses: actions/checkout@v4 + + - uses: actions/checkout@v4 + - name: run VM + uses: vmactions/omnios-vm@v1 + with: + usesh: true + prepare: | + uname -a + pkg update --accept + pkg install gcc13 cmake git pkg-config glib2 dbus sqlite-3 imagemagick + + run: | + cmake -DSET_TWEAK=Off -DBUILD_TESTS=On . + cmake --build . --target package --verbose -j4 + ./fastfetch --list-features + time ./fastfetch + time ./fastfetch --format json + time ./flashfetch + ldd fastfetch + ctest + cpack + + - name: upload artifacts + uses: actions/upload-artifact@v4 + with: + name: fastfetch-sunos-amd64 + path: ./fastfetch-*.* + freebsd-amd64: name: FreeBSD-amd64 runs-on: ubuntu-latest @@ -585,6 +619,7 @@ jobs: - macos-universal - freebsd-amd64 - freebsd-aarch64 + - sunos-amd64 - windows-amd64 - windows-i686 permissions: