on: workflow_dispatch
name: haiku
jobs:
haiku:
runs-on: ubuntu-latest
name: Haiku
container: docker.io/hectorm/qemu-haiku:latest
steps:
- name: Wait until the VM is ready
run: container-init & timeout 600 vmshell exit 0
- name: Setup Haiku dependencies
run: |
vmshell pkgman update
vmshell pkgman install -y gcc rust_bin ffmpeg mkvtoolnix git haiku_devel protobuf
- name: Restart VM
run: echo sv force-restart qemu; timeout 600 vmshell exit 0
- name: Checkout sources
run: vmshell git clone --depth 1 https://github.com/emarsden/dash-mpd-cli
- name: Build
run: vmshell "cd dash-mpd-cli; cargo build --jobs 1"