Skip to content

readme: simplify Emscripten offset converter instructions #512

readme: simplify Emscripten offset converter instructions

readme: simplify Emscripten offset converter instructions #512

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: mlugg/setup-zig@v1
with:
version: master
- 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