build: add some support for building the apps

This appears to work when targeting macOS or Linux. Windows definitely
does not work. These are not built by default.
This commit is contained in:
2024-09-15 17:48:53 -07:00
parent 2f5d617aab
commit a9c2b0b825
2 changed files with 361 additions and 171 deletions

View File

@@ -22,6 +22,7 @@ jobs:
- zig-version: "master"
check-format: true
os: ubuntu-latest
build-options: "-Dbuild-apps"
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
@@ -37,4 +38,4 @@ jobs:
run: zig fmt --ast-check --check .
- name: Build
run: zig build --summary all
run: zig build ${{ matrix.build-options }} --summary all