Skip to content

Commit

Permalink
add ci actions
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Jul 9, 2024
1 parent 9af2771 commit 7593613
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: build

on: [push, pull_request]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- 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-web
# run: zig build --summary all -Dtarget=wasm32-emscripten

0 comments on commit 7593613

Please sign in to comment.