1
0
Fork 0
mirror of https://github.com/zigzap/zap.git synced 2025-10-21 07:34:08 +00:00

CI: disabled zig-master, enabled zig-0.11.0

This commit is contained in:
Rene Schallner 2023-08-05 14:48:44 +02:00
parent 07d652d987
commit 279895ba5c
2 changed files with 36 additions and 8 deletions

28
.github/workflows/build-zig-11.yml vendored Normal file
View file

@ -0,0 +1,28 @@
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]
platform: [ubuntu-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

View file

@ -1,13 +1,13 @@
name: Works with Zig master name: Works with Zig master
on: on:
push: # push:
branches: # branches:
- master # - master
pull_request: # pull_request:
branches: # branches:
- master # - master
schedule: # schedule:
- cron: "0 0 * * *" # - cron: "0 0 * * *"
workflow_dispatch: workflow_dispatch:
jobs: jobs: