CI #210
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- "README.md" | |
pull_request: | |
branches: [ "main" ] | |
paths-ignore: | |
- "README.md" | |
schedule: | |
# Once per week | |
- cron: "43 3 * * 3" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: goto-bus-stop/setup-zig@v2 | |
with: | |
version: 0.14.0-dev.32+4aa15440c | |
- run: zig env | |
- run: zig build test | |
# libxev not on windows yet | |
- if: ${{ matrix.os != 'windows-latest' }} | |
run: zig build test-aio | |
- run: zig build benchmark |