Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
8f08273
Packaging: update debian stuff [ci skip]
CarterLi Jan 22, 2026
c116a5a
Chore: uses elvis operators where applicatable
CarterLi Jan 22, 2026
79849fb
CI: updates dependencies
CarterLi Jan 23, 2026
4a58103
CI: fixes building
CarterLi Jan 24, 2026
19d3c94
DE (Android): clarifies that Google Pixel and other OSes also report …
CarterLi Jan 26, 2026
b365d4c
CPU (ARM): adds more ARM parts
CarterLi Jan 26, 2026
e44df27
Memory (macOS): adds debug info
CarterLi Jan 27, 2026
d698be6
CPU (ARM): removes duplicated cases
CarterLi Jan 27, 2026
dc04273
Memory (macOS): updates algorithm in order not to use `hw.memsize_usa…
CarterLi Jan 29, 2026
7c284f9
CMake (macOS): disable `ENABLE_APPLE_MEMSIZE_USABLE` by default
CarterLi Jan 29, 2026
0686d1d
GPU (Hurd): uses native API; removes libpciaccess dep
CarterLi Jan 30, 2026
e8f2b9a
Common: uses `_Countof` in ARRAY_SIZE definition when available
CarterLi Feb 2, 2026
5b10cde
Global: Add support for Oracle Solaris (#2176)
Verdgil Feb 10, 2026
958e7db
Bluetooth (Windows): simplifies code
CarterLi Feb 9, 2026
d2215f2
Processing (Windows): uses `NtQueryInformationProcess` instead of its…
CarterLi Feb 9, 2026
1323d00
Global: uses `alignas` where applicable
CarterLi Feb 9, 2026
359a770
Terminal (Windows): uses `NtQueryInformationProcess` to retrieve info…
CarterLi Feb 10, 2026
61cdfca
Windows: uses `SHGetKnownFolderPath` instead of the unreliable `getenv`
CarterLi Feb 10, 2026
996cdd3
Refactor: moves `memrchr` to global impl for potential future use
CarterLi Feb 10, 2026
5825bce
Disk (Windows): replaces most Kernel32 calls to ntdll calls
CarterLi Feb 10, 2026
a44bde6
Platform: adds UID / SID detection
CarterLi Feb 10, 2026
357aa77
Media (Solaris): fixes another compiling error
CarterLi Feb 10, 2026
b248dfa
Platform: prefers system API to retreive user name
CarterLi Feb 10, 2026
5847e3f
FFPlatform (Windows): fixes memory corruption
CarterLi Feb 11, 2026
cbe33a4
CI (DragonFly): disables packaging `.pkg` file to fix a weird CI error
CarterLi Feb 11, 2026
ba27f4f
CI: adds Solaris
CarterLi Feb 11, 2026
681a102
Processing (Windows): adds TODO [ci skip]
CarterLi Feb 11, 2026
ff7e81e
Memory (Windows): adds comments [ci skip]
CarterLi Feb 11, 2026
19f7c67
Platform: adds `pid` field and use it
CarterLi Feb 12, 2026
0f4bb47
Global: fixes compiler warnings
CarterLi Feb 12, 2026
4038ed2
GPU: adds debug logs
CarterLi Feb 12, 2026
a86d001
Logo (Builtin): adds 6-color support to nixos logo (#2180)
klercke Feb 13, 2026
6c314e1
Logo (Builtin): updates nixos_small too
CarterLi Feb 13, 2026
fc5c2f6
Title: adds `{user-id}` in custom format
CarterLi Feb 13, 2026
8a20af9
Doc: update JSON schema
CarterLi Feb 13, 2026
f31d3b8
Doc: update changelog
CarterLi Feb 13, 2026
2afe8d1
Common: fixes discarded-qualifiers warnings (#2181)
fam007e Feb 13, 2026
d04a263
Swap (Windows): removes unused code
CarterLi Feb 13, 2026
dee4b36
Bluetooth (Windows): use modern dlls
CarterLi Feb 13, 2026
df87cdf
Windows: defines `NtCurrentProcess` and uses it
CarterLi Feb 13, 2026
4f6e80e
Release: v2.59.0
CarterLi Feb 13, 2026
0e9a5ac
Platform (Windows): adds init / destroy of field `sid`
CarterLi Feb 13, 2026
49ef7fc
Packages (Windows): code cleanups
CarterLi Feb 13, 2026
6e64b75
Chore: silences a compiler warning
CarterLi Feb 13, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
121 changes: 79 additions & 42 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Install codespell
shell: bash
Expand All @@ -32,7 +32,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: uname -a
run: uname -a
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
ffversion: ${{ steps.ffversion.outputs.ffversion }}
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: uname -a
run: uname -a
Expand All @@ -102,7 +102,7 @@ jobs:

- name: Initialize CodeQL
if: matrix.arch == 'amd64'
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@v4
with:
languages: c

Expand All @@ -114,7 +114,7 @@ jobs:

- name: perform CodeQL analysis
if: matrix.arch == 'amd64'
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@v4

- name: list features
run: ./fastfetch --list-features
Expand Down Expand Up @@ -151,7 +151,7 @@ jobs:
cpack -V

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-linux-${{ matrix.arch }}
path: ./fastfetch-*.*
Expand All @@ -164,7 +164,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: uname -a
run: uname -a
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
run: ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-linux-i686
path: ./fastfetch-*.*
Expand All @@ -230,7 +230,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: uraimo/run-on-arch-action@v3
Expand All @@ -257,7 +257,7 @@ jobs:
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-linux-armv7l
path: ./fastfetch-*.*
Expand All @@ -270,7 +270,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: uraimo/run-on-arch-action@v3
Expand All @@ -293,7 +293,7 @@ jobs:
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-linux-armv6l
path: ./fastfetch-*.*
Expand All @@ -312,7 +312,7 @@ jobs:
- arch: s390x
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: uraimo/run-on-arch-action@v3
Expand All @@ -336,7 +336,7 @@ jobs:
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-linux-${{ matrix.arch }}
path: ./fastfetch-*.*
Expand All @@ -345,7 +345,7 @@ jobs:
name: Musl-amd64
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- name: setup alpine linux
uses: jirutka/setup-alpine@master
Expand Down Expand Up @@ -374,7 +374,7 @@ jobs:
shell: alpine.sh {0}

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-musl-amd64
path: ./fastfetch-*.*
Expand All @@ -394,7 +394,7 @@ jobs:
runs-on: macos-latest
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: uname -a
run: uname -a
Expand Down Expand Up @@ -428,17 +428,17 @@ jobs:
run: ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-macos-${{ matrix.arch }}
path: ./fastfetch-*.*

sunos-amd64:
omnios-amd64:
runs-on: ubuntu-latest
name: SunOS-amd64
name: OmniOS-amd64
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: vmactions/omnios-vm@v1
Expand All @@ -447,23 +447,59 @@ jobs:
prepare: |
uname -a
pkg update --accept
pkg install gcc14 cmake git pkg-config glib2 dbus sqlite-3 imagemagick
pkg install gcc14 cmake git pkg-config glib2 dbus sqlite-3 imagemagick ninja

run: |
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
cmake --build . --target package --verbose -j4
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -GNinja .
cmake --build . --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ldd fastfetch
ctest --output-on-failure
echo 'set(CPACK_PACKAGE_FILE_NAME "fastfetch-omnios-amd64")' >> CPackConfig.cmake
cpack -V

- name: upload artifacts
uses: actions/upload-artifact@v6
with:
name: fastfetch-omnios-amd64
path: ./fastfetch-*.*

solaris-amd64:
runs-on: ubuntu-latest
name: Solaris-amd64
steps:
- name: checkout repository
uses: actions/checkout@v6

- name: run VM
uses: vmactions/solaris-vm@v1
with:
usesh: true
release: "11.4-gcc-14"
prepare: |
uname -a
pkg install cmake git pkg-config glib2 dbus sqlite-3 imagemagick ninja dconf mesa

run: |
export PKG_CONFIG_PATH=/usr/lib/64/pkgconfig
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -GNinja .
cmake --build . --verbose -j4
./fastfetch --list-features
time ./fastfetch -c presets/ci.jsonc --stat false
time ./fastfetch -c presets/ci.jsonc --format json
time ./flashfetch
ldd fastfetch
ctest --output-on-failure
cpack
echo 'set(CPACK_PACKAGE_FILE_NAME "fastfetch-solaris-amd64")' >> CPackConfig.cmake
cpack -V

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-sunos-amd64
name: fastfetch-solaris-amd64
path: ./fastfetch-*.*

freebsd-amd64:
Expand All @@ -474,7 +510,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: cross-platform-actions/action@master
Expand All @@ -483,7 +519,7 @@ jobs:
architecture: x86-64
cpu_count: 4
shell: bash
version: '14.3'
version: '15.0'
run: |
uname -a
sudo pkg update
Expand All @@ -498,7 +534,7 @@ jobs:
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-freebsd-amd64
path: ./fastfetch-*.*
Expand All @@ -511,7 +547,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: cross-platform-actions/action@master
Expand All @@ -535,7 +571,7 @@ jobs:
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-openbsd-amd64
path: ./fastfetch-*.*
Expand All @@ -548,7 +584,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: cross-platform-actions/action@master
Expand All @@ -571,7 +607,7 @@ jobs:
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-netbsd-amd64
path: ./fastfetch-*.*
Expand All @@ -584,7 +620,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: vmactions/dragonflybsd-vm@v1
Expand All @@ -606,7 +642,7 @@ jobs:
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-dragonfly-amd64
path: ./fastfetch-*.*
Expand All @@ -619,7 +655,7 @@ jobs:
contents: read
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: run VM
uses: cross-platform-actions/action@master
Expand All @@ -641,7 +677,7 @@ jobs:
ctest --output-on-failure

- name: upload artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-haiku-amd64
path: ./fastfetch-*.*
Expand Down Expand Up @@ -681,7 +717,7 @@ jobs:
shell: msys2 {0}
steps:
- name: checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: setup-msys2
uses: msys2/setup-msys2@v2
Expand Down Expand Up @@ -723,7 +759,7 @@ jobs:
- if: github.event_name == 'push' && github.repository == 'fastfetch-cli/fastfetch'
id: upload-unsigned-artifact
name: upload artifacts for signing
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}
path: |
Expand All @@ -750,7 +786,7 @@ jobs:
run: 7z a -t7z -mx9 -bd -y fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}.7z LICENSE *.dll fastfetch.exe flashfetch.exe presets

- name: upload true artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
name: fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}
path: ./fastfetch-windows-${{ matrix.arch }}${{ matrix.win7-compat-postfix }}.*
Expand All @@ -772,7 +808,8 @@ jobs:
- openbsd-amd64
- netbsd-amd64
- dragonfly-amd64
- sunos-amd64
- solaris-amd64
- omnios-amd64
- haiku-amd64
- windows-hosts
permissions:
Expand Down
Loading
Loading