Skip to content

CI

CI #165

Workflow file for this run

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.12.0
- 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