Skip to content

Add workflow for DIRECTORY.md (#11) #42

Add workflow for DIRECTORY.md (#11)

Add workflow for DIRECTORY.md (#11) #42

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- name: Testing (Linux & MacOS)
if: (startsWith(matrix.runs-on, 'ubuntu')) || (startsWith(matrix.runs-on, 'macos'))
run: sh runall.sh
- name: Testing (Windows)
if: startsWith(matrix.runs-on, 'windows')
run: ./runall.cmd
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- run: zig fmt --check --ast-check */*.zig