1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 15:14:08 +00:00
zap/.github/workflows/build-zig-11.yml
2023-08-20 16:35:07 -07:00

27 lines
575 B
YAML

name: Works with Zig 0.11.0
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
ci:
strategy:
matrix:
platform: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- name: Check zig version
run: zig version
- name: Build all examples
run: ./build_all.sh
- name: Run all tests
run: zig build test