mirror of
https://github.com/zigzap/zap.git
synced 2025-10-21 07:34:08 +00:00
re-enable zig master check CI workflow
This commit is contained in:
parent
070970f262
commit
5f9c5b7702
1 changed files with 20 additions and 12 deletions
32
.github/workflows/mastercheck.yml
vendored
32
.github/workflows/mastercheck.yml
vendored
|
@ -1,21 +1,20 @@
|
||||||
name: Works with Zig master
|
name: Works with Zig master
|
||||||
on:
|
on:
|
||||||
# push:
|
push:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- zig-0.12.0
|
||||||
# pull_request:
|
pull_request:
|
||||||
# branches:
|
branches:
|
||||||
# - master
|
- zig-0.12.0
|
||||||
# schedule:
|
schedule:
|
||||||
# - cron: "0 0 * * *"
|
- cron: "0 0 * * *"
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
# platform: [ubuntu-latest, windows-latest, macos-latest]
|
platform: [ubuntu-latest, macos-latest]
|
||||||
platform: [ubuntu-latest]
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -26,5 +25,14 @@ jobs:
|
||||||
run: zig version
|
run: zig version
|
||||||
- name: Build all examples
|
- name: Build all examples
|
||||||
run: zig build all
|
run: zig build all
|
||||||
- name: Run all tests
|
# Run tests separately so we can see more clearly which one fails
|
||||||
run: zig build test
|
- 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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue