Skip to content

check null pointers, cleanups #65

check null pointers, cleanups

check null pointers, cleanups #65

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: 'build on Haiku'
runs-on: 'ubuntu-latest'
container: 'docker.io/hectorm/qemu-haiku:latest'
steps:
- name: 'Wait until the VM is ready'
run: 'container-init & timeout 600 vmshell exit 0'
- name: 'Install packages'
run: 'vmshell pkgman install -y haiku_devel make makefile_engine gcc multimarkdown'
- name: 'Reboot VM'
run: 'vmshell sync; sv force-restart qemu ||:; timeout 600 vmshell exit 0'
- name: 'Checkout project'
uses: actions/checkout@v4
- name: 'Copy project to VM'
run: 'vmshell mkdir ./src/; tar -cf - ./ | vmshell tar -xf - -C ./src/'
- name: 'Build project'
run: 'vmshell make BUILDHOME=\`finddir B_SYSTEM_DEVELOP_DIRECTORY\` -C ./src/'