Skip to content

Revendor zig-sqlite #110

Revendor zig-sqlite

Revendor zig-sqlite #110

Workflow file for this run

name: clerk tests
on:
push:
paths:
- src/**
- lib/**
- build.zig
- .github/workflows/test.yaml
jobs:
build:
strategy:
matrix:
target: [x86_64, aarch64]
os: [linux, macos, windows]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.13.0
- run: zig build -Dtarget=${{ matrix.target }}-${{ matrix.os }}
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.13.0
- run: zig build
- run: zig-out/bin/clerk
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v1
with:
version: 0.13.0
- run: zig fmt --check src/*.zig