Skip to content

Introduce continuous integration #1

Introduce continuous integration

Introduce continuous integration #1

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
zig-version: [0.13.0, master]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Linux
if: runner.os == 'Linux'
run: |
sudo apt-get update
sudo apt-get install libgles-dev libpulse-dev libxext-dev
- name: Setup Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig-version }}
- name: Check Formatting
run: zig fmt --ast-check --check .
- name: Build
run: zig build --summary all