mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
CI: disabled zig-master, enabled zig-0.11.0
This commit is contained in:
parent
07d652d987
commit
279895ba5c
2 changed files with 36 additions and 8 deletions
28
.github/workflows/build-zig-11.yml
vendored
Normal file
28
.github/workflows/build-zig-11.yml
vendored
Normal 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
|
16
.github/workflows/mastercheck.yml
vendored
16
.github/workflows/mastercheck.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Add table
Reference in a new issue