@@ -408,8 +408,55 @@ jobs:
408408 name : fastfetch-musl-amd64
409409 path : ./fastfetch-*.*
410410
411- macos-universal :
412- name : macOS-universal
411+ macos-amd64 :
412+ name : macOS-amd64
413+ runs-on : macos-13
414+ permissions :
415+ security-events : write
416+ contents : read
417+ steps :
418+ - name : checkout repository
419+ uses : actions/checkout@v4
420+
421+ - name : uname -a
422+ run : uname -a
423+
424+ - name : install required packages
425+ run : |
426+ HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install --overwrite vulkan-loader vulkan-headers molten-vk imagemagick chafa
427+
428+ - name : configure project
429+ run : cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
430+
431+ - name : build project
432+ run : cmake --build . --target package --verbose -j4
433+
434+ - name : list features
435+ run : ./fastfetch --list-features
436+
437+ - name : run fastfetch
438+ run : time ./fastfetch -c presets/ci.jsonc --stat false
439+
440+ - name : run fastfetch --format json
441+ run : time ./fastfetch -c presets/ci.jsonc --format json
442+
443+ - name : run flashfetch
444+ run : time ./flashfetch
445+
446+ - name : print dependencies
447+ run : otool -L fastfetch
448+
449+ - name : run tests
450+ run : ctest --output-on-failure
451+
452+ - name : upload artifacts
453+ uses : actions/upload-artifact@v4
454+ with :
455+ name : fastfetch-macos-amd64
456+ path : ./fastfetch-*.*
457+
458+ macos-aarch64 :
459+ name : macOS-aarch64
413460 runs-on : macos-latest
414461 permissions :
415462 security-events : write
@@ -426,7 +473,7 @@ jobs:
426473 HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 brew install --overwrite vulkan-loader vulkan-headers molten-vk imagemagick chafa
427474
428475 - name : configure project
429- run : cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DCMAKE_OSX_ARCHITECTURES='arm64;x86_64' .
476+ run : cmake -DSET_TWEAK=Off -DBUILD_TESTS=On .
430477
431478 - name : build project
432479 run : cmake --build . --target package --verbose -j4
@@ -452,7 +499,7 @@ jobs:
452499 - name : upload artifacts
453500 uses : actions/upload-artifact@v4
454501 with :
455- name : fastfetch-macos-universal
502+ name : fastfetch-macos-aarch64
456503 path : ./fastfetch-*.*
457504
458505 sunos-amd64 :
@@ -808,7 +855,8 @@ jobs:
808855 - linux-ppc64le
809856 - linux-s390x
810857 - musl-amd64
811- - macos-universal
858+ - macos-amd64
859+ - macos-aarch64
812860 - freebsd-amd64
813861 - openbsd-amd64
814862 - netbsd-amd64
0 commit comments