Skip to content

Commit a0343d6

Browse files
committed
CI: run --format json
1 parent 44b417d commit a0343d6

File tree

1 file changed

+19
-3
lines changed

1 file changed

+19
-3
lines changed

.github/workflows/ci.yml

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,13 @@ jobs:
4444
run: ctest
4545

4646
- name: run fastfetch
47-
run: ./fastfetch --stat --show-errors --no-buffer --load-config presets/all
47+
run: time ./fastfetch -c presets/ci
48+
49+
- name: run fastfetch --format json
50+
run: time ./fastfetch -c presets/ci --format json
4851

4952
- name: run flashfetch
50-
run: ./flashfetch
53+
run: time ./flashfetch
5154

5255
linux:
5356
name: Linux
@@ -84,6 +87,9 @@ jobs:
8487
- name: run fastfetch
8588
run: time ./fastfetch -c presets/ci
8689

90+
- name: run fastfetch --format json
91+
run: time ./fastfetch -c presets/ci --format json
92+
8793
- name: run flashfetch
8894
run: time ./flashfetch
8995

@@ -136,6 +142,9 @@ jobs:
136142
- name: run fastfetch
137143
run: time ./fastfetch -c presets/ci
138144

145+
- name: run fastfetch --format json
146+
run: time ./fastfetch -c presets/ci --format json
147+
139148
- name: run flashfetch
140149
run: time ./flashfetch
141150

@@ -165,12 +174,13 @@ jobs:
165174
uses: vmactions/freebsd-vm@v0
166175
with:
167176
prepare: |
168-
pkg install -y cmake git pkgconf pciutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 glib dconf dbus sqlite3-tcl xfce4-conf ImageMagick6 ImageMagick7 chafa egl libosmesa opencl ocl-icd pulseaudio
177+
pkg install -y cmake git pkgconf binutils pciutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 glib dconf dbus sqlite3-tcl xfce4-conf ImageMagick6 ImageMagick7 chafa egl libosmesa opencl ocl-icd pulseaudio
169178
run: |
170179
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
171180
cmake --build . --target package
172181
./fastfetch --list-features
173182
time ./fastfetch -c presets/ci
183+
time ./fastfetch -c presets/ci --format json
174184
time ./flashfetch
175185
ldd fastfetch
176186
ctest
@@ -227,6 +237,9 @@ jobs:
227237
- name: run fastfetch
228238
run: time ./fastfetch -c presets/ci
229239

240+
- name: run fastfetch --format json
241+
run: time ./fastfetch -c presets/ci --format json
242+
230243
- name: run flashfetch
231244
run: time ./flashfetch
232245

@@ -291,6 +304,9 @@ jobs:
291304
- name: run fastfetch
292305
run: time ./fastfetch -c presets/ci
293306

307+
- name: run fastfetch --format json
308+
run: time ./fastfetch -c presets/ci --format json
309+
294310
- name: run flashfetch
295311
run: time ./flashfetch
296312

0 commit comments

Comments
 (0)