diff --git a/.github/workflows/build-dragonfly-amd64.yml b/.github/workflows/build-dragonfly-amd64.yml index 0a995b36b..c611159fe 100644 --- a/.github/workflows/build-dragonfly-amd64.yml +++ b/.github/workflows/build-dragonfly-amd64.yml @@ -9,29 +9,57 @@ env: jobs: build: runs-on: ubuntu-latest + defaults: + run: + shell: cpa.sh {0} + steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - - name: run VM - uses: vmactions/dragonflybsd-vm@v1 + - name: Start VM + uses: cross-platform-actions/action@master + env: + CMAKE_BUILD_TYPE: CMAKE_BUILD_TYPE with: - usesh: yes - envs: 'CMAKE_BUILD_TYPE' - prepare: | - uname -a - pkg update - pkg install -y llvm cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl egl opencl ocl-icd v4l_compat chafa libelf lua54 libva libvdpau + operating_system: dragonflybsd + version: '6.4.2' + shell: bash + cpu_count: 4 - run: | - env CC=clang cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . - cmake --build . --target package --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 + - name: Show system info + run: | + uname -a + pkg --version + + - name: Update and install dependencies + run: | + sudo pkg update + sudo pkg install -y llvm cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl egl opencl ocl-icd v4l_compat chafa libelf lua54 libva libvdpau + + - name: CMake configuration + run: env CC=clang cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . + + - name: CMake build + run: cmake --build . --target package --verbose -j4 + + - name: List features + run: ./fastfetch --list-features + + - name: Run normal + run: time ./fastfetch -c presets/ci.jsonc --stat false + + - name: Run json + run: time ./fastfetch -c presets/ci.jsonc --format json + + - name: Run flashfetch + run: time ./flashfetch + + - name: Run ldd + run: ldd fastfetch + + - name: Run tests + run: ctest --output-on-failure - name: upload artifacts uses: actions/upload-artifact@v7 diff --git a/.github/workflows/build-freebsd-amd64.yml b/.github/workflows/build-freebsd-amd64.yml index 9527d0899..63209f2bc 100644 --- a/.github/workflows/build-freebsd-amd64.yml +++ b/.github/workflows/build-freebsd-amd64.yml @@ -9,31 +9,58 @@ env: jobs: build: runs-on: ubuntu-latest + defaults: + run: + shell: cpa.sh {0} + steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - - name: run VM + - name: Start VM uses: cross-platform-actions/action@master + env: + CMAKE_BUILD_TYPE: CMAKE_BUILD_TYPE with: operating_system: freebsd - architecture: x86-64 - cpu_count: 4 + version: '15.1' shell: bash - version: '15.0' - environment_variables: 'CMAKE_BUILD_TYPE' - run: | - uname -a - sudo pkg update - sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl egl opencl ocl-icd v4l_compat chafa lua54 libva libvdpau - cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . - cmake --build . --target package --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 + cpu_count: 4 + + - name: Show system info + run: | + uname -a + freebsd-version + pkg -v + + - name: Update and install dependencies + run: | + sudo pkg update + sudo pkg install -y cmake git pkgconf binutils wayland vulkan-headers vulkan-loader libxcb libXrandr libX11 libdrm glib dconf dbus sqlite3-tcl egl opencl ocl-icd v4l_compat chafa lua54 libva libvdpau + + - name: CMake configuration + run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . + + - name: CMake build + run: cmake --build . --target package --verbose -j4 + + - name: List features + run: ./fastfetch --list-features + + - name: Run normal + run: time ./fastfetch -c presets/ci.jsonc --stat false + + - name: Run json + run: time ./fastfetch -c presets/ci.jsonc --format json + + - name: Run flashfetch + run: time ./flashfetch + + - name: Run ldd + run: ldd fastfetch + + - name: Run tests + run: ctest --output-on-failure - name: upload artifacts uses: actions/upload-artifact@v7 diff --git a/.github/workflows/build-haiku-amd64.yml b/.github/workflows/build-haiku-amd64.yml index d89b6cb4f..d77055b9d 100644 --- a/.github/workflows/build-haiku-amd64.yml +++ b/.github/workflows/build-haiku-amd64.yml @@ -9,29 +9,52 @@ env: jobs: build: runs-on: ubuntu-latest + defaults: + run: + shell: cpa.sh {0} + steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - - name: run VM + - name: Start VM uses: cross-platform-actions/action@master + env: + CMAKE_BUILD_TYPE: CMAKE_BUILD_TYPE with: operating_system: haiku version: 'r1beta5' - architecture: x86-64 - cpu_count: 4 shell: bash - environment_variables: 'CMAKE_BUILD_TYPE' - run: | - uname -a - pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10 || pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10 lua - cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . - cmake --build . --target package --verbose -j4 - ./fastfetch --list-features - time ./fastfetch -c presets/ci.jsonc --stat false - time ./fastfetch -c presets/ci.jsonc --format json - time ./flashfetch - ctest --output-on-failure + cpu_count: 4 + + - name: Show system info + run: | + uname -a + + - name: Update and install dependencies + run: | + pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10 || pkgman install -y git dbus_devel mesa_devel libelf_devel imagemagick_devel opencl_headers ocl_icd_devel vulkan_devel zlib_devel chafa_devel cmake gcc make pkgconfig python3.10 lua + + - name: CMake configuration + run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . + + - name: CMake build + run: cmake --build . --target package --verbose -j4 + + - name: List features + run: ./fastfetch --list-features + + - name: Run normal + run: time ./fastfetch -c presets/ci.jsonc --stat false + + - name: Run json + run: time ./fastfetch -c presets/ci.jsonc --format json + + - name: Run flashfetch + run: time ./flashfetch + + - name: Run tests + run: ctest --output-on-failure - name: upload artifacts uses: actions/upload-artifact@v7 diff --git a/.github/workflows/build-linux-armv6l.yml b/.github/workflows/build-linux-armv6l.yml index 39e96353a..81b908145 100644 --- a/.github/workflows/build-linux-armv6l.yml +++ b/.github/workflows/build-linux-armv6l.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: run VM uses: uraimo/run-on-arch-action@v3 diff --git a/.github/workflows/build-linux-armv7l.yml b/.github/workflows/build-linux-armv7l.yml index a6061a7d3..fd73e8a6f 100644 --- a/.github/workflows/build-linux-armv7l.yml +++ b/.github/workflows/build-linux-armv7l.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-24.04 steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: run VM uses: uraimo/run-on-arch-action@v3 diff --git a/.github/workflows/build-linux-hosts.yml b/.github/workflows/build-linux-hosts.yml index 17d878070..ae0cec971 100644 --- a/.github/workflows/build-linux-hosts.yml +++ b/.github/workflows/build-linux-hosts.yml @@ -24,7 +24,7 @@ jobs: ffversion: ${{ steps.ffversion.outputs.ffversion }} steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: uname -a run: uname -a diff --git a/.github/workflows/build-linux-i686.yml b/.github/workflows/build-linux-i686.yml index cf1a2d39b..ed7ab176c 100644 --- a/.github/workflows/build-linux-i686.yml +++ b/.github/workflows/build-linux-i686.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: uname -a run: uname -a diff --git a/.github/workflows/build-linux-vms.yml b/.github/workflows/build-linux-vms.yml index 2247d924c..49600cb5c 100644 --- a/.github/workflows/build-linux-vms.yml +++ b/.github/workflows/build-linux-vms.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: run VM uses: uraimo/run-on-arch-action@v3 diff --git a/.github/workflows/build-macos-hosts.yml b/.github/workflows/build-macos-hosts.yml index 40fa0009d..b5fa76a4e 100644 --- a/.github/workflows/build-macos-hosts.yml +++ b/.github/workflows/build-macos-hosts.yml @@ -18,7 +18,7 @@ jobs: runs-on: ${{ inputs.runs-on }} steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: uname -a run: uname -a diff --git a/.github/workflows/build-musl-amd64.yml b/.github/workflows/build-musl-amd64.yml index aed91bd98..3b4fa8692 100644 --- a/.github/workflows/build-musl-amd64.yml +++ b/.github/workflows/build-musl-amd64.yml @@ -10,7 +10,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: setup alpine linux uses: jirutka/setup-alpine@master diff --git a/.github/workflows/build-netbsd-amd64.yml b/.github/workflows/build-netbsd-amd64.yml index eb95b2264..384968c22 100644 --- a/.github/workflows/build-netbsd-amd64.yml +++ b/.github/workflows/build-netbsd-amd64.yml @@ -9,30 +9,56 @@ env: jobs: build: runs-on: ubuntu-latest + defaults: + run: + shell: cpa.sh {0} + steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - - name: run VM + - name: Start VM uses: cross-platform-actions/action@master + env: + CMAKE_BUILD_TYPE: CMAKE_BUILD_TYPE with: operating_system: netbsd - architecture: x86-64 - cpu_count: 4 - shell: bash version: '10.1' - environment_variables: 'CMAKE_BUILD_TYPE' - run: | - uname -a - sudo pkgin -y install clang cmake git pkgconf wayland vulkan-headers dconf dbus sqlite3 ImageMagick libva libvdpau - CC=clang cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . - cmake --build . --target package --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 + shell: bash + cpu_count: 4 + + - name: Show system info + run: | + uname -a + pkgin -v + + - name: Update and install dependencies + run: | + sudo pkgin -y install clang cmake git pkgconf wayland vulkan-headers dconf dbus sqlite3 ImageMagick libva libvdpau + + - name: CMake configuration + run: CC=clang cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . + + - name: CMake build + run: cmake --build . --target package --verbose -j4 + + - name: List features + run: ./fastfetch --list-features + + - name: Run normal + run: time ./fastfetch -c presets/ci.jsonc --stat false + + - name: Run json + run: time ./fastfetch -c presets/ci.jsonc --format json + + - name: Run flashfetch + run: time ./flashfetch + + - name: Run ldd + run: ldd fastfetch + + - name: Run tests + run: ctest --output-on-failure - name: upload artifacts uses: actions/upload-artifact@v7 diff --git a/.github/workflows/build-no-features-test.yml b/.github/workflows/build-no-features-test.yml index 01c29ecf6..2dc5bcd21 100644 --- a/.github/workflows/build-no-features-test.yml +++ b/.github/workflows/build-no-features-test.yml @@ -12,7 +12,7 @@ jobs: steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: uname -a run: uname -a diff --git a/.github/workflows/build-omnios-amd64.yml b/.github/workflows/build-omnios-amd64.yml index 9667cbe67..e8522db2d 100644 --- a/.github/workflows/build-omnios-amd64.yml +++ b/.github/workflows/build-omnios-amd64.yml @@ -9,31 +9,61 @@ env: jobs: build: runs-on: ubuntu-latest + defaults: + run: + shell: cpa.sh {0} + steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - - name: run VM - uses: vmactions/omnios-vm@v1 + - name: Start VM + uses: cross-platform-actions/action@master + env: + CMAKE_BUILD_TYPE: CMAKE_BUILD_TYPE with: - usesh: true - envs: 'CMAKE_BUILD_TYPE' - prepare: | - uname -a - pkg update --accept || true - pkg install gcc14 cmake git pkg-config glib2 dbus sqlite-3 imagemagick ninja + operating_system: omnios + version: 'r151058' + shell: bash + cpu_count: 4 - run: | - 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: Show system info + run: | + uname -a + + - name: Update and install dependencies + run: | + sudo pkg update --accept || true + sudo pkg install gcc14 cmake git pkg-config glib2 dbus sqlite-3 imagemagick ninja + + - name: CMake configuration + run: cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -GNinja . + + - name: CMake build + run: cmake --build . --verbose -j4 + + - name: List features + run: ./fastfetch --list-features + + - name: Run normal + run: time ./fastfetch -c presets/ci.jsonc --stat false + + - name: Run json + run: time ./fastfetch -c presets/ci.jsonc --format json + + - name: Run flashfetch + run: time ./flashfetch + + - name: Run ldd + run: ldd fastfetch + + - name: Run tests + run: ctest --output-on-failure + + - name: Package + run: | + echo 'set(CPACK_PACKAGE_FILE_NAME "fastfetch-omnios-amd64")' >> CPackConfig.cmake + cpack -V - name: upload artifacts uses: actions/upload-artifact@v7 diff --git a/.github/workflows/build-openbsd-amd64.yml b/.github/workflows/build-openbsd-amd64.yml index 3c29dbaba..b73b1d5e8 100644 --- a/.github/workflows/build-openbsd-amd64.yml +++ b/.github/workflows/build-openbsd-amd64.yml @@ -9,31 +9,56 @@ env: jobs: build: runs-on: ubuntu-latest + defaults: + run: + shell: cpa.sh {0} + steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - - name: run VM + - name: Start VM uses: cross-platform-actions/action@master + env: + CMAKE_BUILD_TYPE: CMAKE_BUILD_TYPE with: operating_system: openbsd - architecture: x86-64 - cpu_count: 4 - shell: bash version: '7.9' - environment_variables: 'CMAKE_BUILD_TYPE' - run: | - uname -a - sudo pkg_add -u - sudo pkg_add -r llvm-21.1.8p4 cmake git wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 imagemagick chafa lua-5.4.8p0 # pkg-config is preinstalled - CC=clang-21 cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . - cmake --build . --target package --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 + shell: bash + cpu_count: 4 + + - name: Show system info + run: | + uname -a + + - name: Update and install dependencies + run: | + sudo pkg_add -u + sudo pkg_add -r llvm-21.1.8p4 cmake git wayland vulkan-headers vulkan-loader glib2 dconf dbus sqlite3 imagemagick chafa lua-5.4.8p0 # pkg-config is preinstalled + + - name: CMake configuration + run: CC=clang-21 cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On . + + - name: CMake build + run: cmake --build . --target package --verbose -j4 + + - name: List features + run: ./fastfetch --list-features + + - name: Run normal + run: time ./fastfetch -c presets/ci.jsonc --stat false + + - name: Run json + run: time ./fastfetch -c presets/ci.jsonc --format json + + - name: Run flashfetch + run: time ./flashfetch + + - name: Run ldd + run: ldd fastfetch + + - name: Run tests + run: ctest --output-on-failure - name: upload artifacts uses: actions/upload-artifact@v7 diff --git a/.github/workflows/build-solaris-amd64.yml b/.github/workflows/build-solaris-amd64.yml index 717bf67b4..fd5e75894 100644 --- a/.github/workflows/build-solaris-amd64.yml +++ b/.github/workflows/build-solaris-amd64.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: run VM uses: vmactions/solaris-vm@v1 diff --git a/.github/workflows/build-spellcheck.yml b/.github/workflows/build-spellcheck.yml index 7887227b8..ade30a6ce 100644 --- a/.github/workflows/build-spellcheck.yml +++ b/.github/workflows/build-spellcheck.yml @@ -9,7 +9,7 @@ jobs: steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: Install codespell shell: bash diff --git a/.github/workflows/build-windows-hosts.yml b/.github/workflows/build-windows-hosts.yml index f45e3f894..b2bb9c0eb 100644 --- a/.github/workflows/build-windows-hosts.yml +++ b/.github/workflows/build-windows-hosts.yml @@ -30,7 +30,7 @@ jobs: shell: msys2 {0} steps: - name: checkout repository - uses: actions/checkout@v6 + uses: actions/checkout@v7 - name: setup-msys2 uses: msys2/setup-msys2@v2