1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-20 23:24:09 +00:00
zap/.github/workflows/mastercheck.yml
2023-05-20 00:46:47 +02:00

34 lines
821 B
YAML

name: Works with Zig master
on:
push:
branches:
- master
pull_request:
branches:
- master
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
ci:
strategy:
matrix:
# platform: [ubuntu-latest, windows-latest, macos-latest]
platform: [ubuntu-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: ./build_all.sh
- name: Run authentication tests
run: zig build test-authentication
- name: Run http parameter tests
run: zig build test-httpparams
- name: Run sendfile tests
run: zig build test-sendfile