File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -683,33 +683,59 @@ jobs:
683683 haiku-amd64 :
684684 name : Haiku-amd64
685685 runs-on : ubuntu-latest
686- if : false
687686 permissions :
688687 security-events : write
689688 contents : read
690689 steps :
691690 - name : checkout repository
692691 uses : actions/checkout@v4
693692
694- - name : run VM
693+ - name : Fixup VM
695694 uses : cross-platform-actions/action@master
696695 with :
697696 operating_system : haiku
697+ version : ' r1beta5'
698698 architecture : x86-64
699699 cpu_count : 4
700700 shell : bash
701+ sync_files : false
702+ shutdown_vm : false
703+ run : |
704+ mv '/home/runner/work' '/boot/home/work'
705+ ln -sf '/boot/home/work' '/home/runner/work'
706+
707+ - name : Sync files to VM
708+ uses : cross-platform-actions/action@master
709+ with :
710+ operating_system : haiku
701711 version : ' r1beta5'
712+ architecture : x86-64
713+ cpu_count : 4
714+ shell : bash
715+ sync_files : runner-to-vm
716+ shutdown_vm : false
702717 run : |
703- uname -a
718+ chown -R $(id -u):$(id -g) $(pwd)
704719 ls -l
720+
721+ - name : run VM
722+ uses : cross-platform-actions/action@master
723+ with :
724+ operating_system : haiku
725+ version : ' r1beta5'
726+ architecture : x86-64
727+ cpu_count : 4
728+ shell : bash
729+ sync_files : vm-to-runner
730+ run : |
731+ uname -a
705732 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
706733 cmake -DSET_TWEAK=Off -DBUILD_TESTS=On -DENABLE_EMBEDDED_PCIIDS=On -DENABLE_EMBEDDED_AMDGPUIDS=On .
707734 cmake --build . --target package --verbose -j4
708735 ./fastfetch --list-features
709736 time ./fastfetch -c presets/ci.jsonc --stat false
710737 time ./fastfetch -c presets/ci.jsonc --format json
711738 time ./flashfetch
712- ldd fastfetch
713739 ctest --output-on-failure
714740
715741 - name : upload artifacts
@@ -861,6 +887,7 @@ jobs:
861887 - openbsd-amd64
862888 - netbsd-amd64
863889 - sunos-amd64
890+ - haiku-amd64
864891 - windows-amd64
865892 - windows-aarch64
866893 permissions :
You can’t perform that action at this time.
0 commit comments