Skip to content

Commit fb68d8a

Browse files
committed
CI (Haiku): add build
Disabled due to cross-platform-actions/action#104
1 parent 047411b commit fb68d8a

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -597,6 +597,44 @@ jobs:
597597
name: fastfetch-netbsd-amd64
598598
path: ./fastfetch-*.*
599599

600+
haiku-amd64:
601+
name: Haiku-amd64
602+
runs-on: ubuntu-latest
603+
if: false
604+
permissions:
605+
security-events: write
606+
contents: read
607+
steps:
608+
- name: checkout repository
609+
uses: actions/checkout@v4
610+
611+
- name: run VM
612+
uses: cross-platform-actions/action@master
613+
with:
614+
operating_system: haiku
615+
architecture: x86-64
616+
cpu_count: 4
617+
shell: bash
618+
version: 'r1beta5'
619+
run: |
620+
uname -a
621+
ls -l
622+
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
623+
cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
624+
cmake --build . --target package --verbose -j4
625+
./fastfetch --list-features
626+
time ./fastfetch -c presets/ci.jsonc --stat false
627+
time ./fastfetch -c presets/ci.jsonc --format json
628+
time ./flashfetch
629+
ldd fastfetch
630+
ctest --output-on-failure
631+
632+
- name: upload artifacts
633+
uses: actions/upload-artifact@v4
634+
with:
635+
name: fastfetch-haiku-amd64
636+
path: ./fastfetch-*.*
637+
600638
windows-amd64:
601639
name: Windows-amd64
602640
runs-on: windows-latest

0 commit comments

Comments
 (0)