Skip to content

updated (https://github.com/floooh/sokol/commit/15412a3c03a6a799d2675… #459

updated (https://github.com/floooh/sokol/commit/15412a3c03a6a799d2675…

updated (https://github.com/floooh/sokol/commit/15412a3c03a6a799d2675… #459

Workflow file for this run

name: Zig
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@main
- uses: goto-bus-stop/setup-zig@v2
- name: prepare-linux
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libglu1-mesa-dev mesa-common-dev xorg-dev libasound-dev
- name: build Native
run: zig build --summary all
- name: build Wasm
run: zig build --summary all -Dtarget=wasm32-emscripten