Skip to content

re-enable zig master check CI workflow #249

re-enable zig master check CI workflow

re-enable zig master check CI workflow #249

Workflow file for this run

name: Works with Zig master
on:
push:
branches:
- zig-0.12.0
pull_request:
branches:
- zig-0.12.0
schedule:
- cron: "0 0 * * *"

Check failure on line 10 in .github/workflows/mastercheck.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/mastercheck.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
workflow_dispatch:
jobs:
ci:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: goto-bus-stop/setup-zig@v2
with:
version: master
- name: Check zig version
run: zig version
- name: Build all examples
run: zig build all
# Run tests separately so we can see more clearly which one fails
- name: Run mustache tests
run: zig build test-mustache
- name: Run httpparams tests
run: zig build test-httpparams
- name: Run sendfile tests
run: zig build test-sendfile
- name: Run authentication tests
run: zig build test-authentication
- name: Report end of tests
run: echo "tests finished"