Skip to content

Compile headless.

Compile headless. #64

Workflow file for this run

name: Windows
on:
workflow_dispatch:
push:
paths:
- 'src/**'
- 'tools/**'
- '.github/workflows/windows.yml'
- 'external/**'
- 'CMakeLists.txt'
- 'build.zig'
permissions:
contents: read
jobs:
windows_vs:
runs-on: ${{matrix.os}}
strategy:
matrix:
config: [ Debug, Release ]
gui: [ raylib, imgui, headless ]
os: [ windows-2019, windows-2022 ]
steps:
- uses: actions/[email protected]
- run: |
cmake -S. -B build `
-D CMAKE_BUILD_TYPE=${{matrix.config}} `
-D GUI=${{matrix.gui}} `
- run: cmake --build build/
windows_zig:
runs-on: windows-latest
steps:
- uses: actions/[email protected]
- uses: goto-bus-stop/[email protected]
with:
version: 0.12.1
cache: true
- run: zig build -Doptimize=ReleaseSafe --summary all
windows_zig_all:
runs-on: windows-latest
steps:
- uses: actions/[email protected]
- uses: goto-bus-stop/[email protected]
with:
version: 0.12.1
cache: true
- run: zig build -Doptimize=ReleaseSafe -DAll --summary all