Skip to content

build: link libc

build: link libc #21

Workflow file for this run

---
name: CI
"on": [push, pull_request]
permissions:
contents: read
env:
ZIG_VERSION: 0.12.0
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
with:
version: ${{ env.ZIG_VERSION }}
- run: zig build
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: goto-bus-stop/setup-zig@v2
- run: zig fmt --check .
release:
needs: [build]
name: Release
permissions:
contents: write
if: github.repository_owner == 'charlesrocket' && startsWith(github.ref, 'refs/tags/')
uses: ./.github/workflows/cd.yml