Skip to content

feat: fix

feat: fix #9

Workflow file for this run

name: Build and Publish
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
matrix:
include:
- os: ubuntu-latest
target: x86_64-linux
extra_flags: ""
- os: macos-latest
target: x86_64-macos
- os: macos-latest
target: aarch64-macos
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install Zig
uses: goto-bus-stop/setup-zig@v2
with:
version: '0.14.0'
- name: Build
run: |
zig build -Doptimize=ReleaseFast -Dtarget=${{ matrix.target }} ${{ matrix.extra_flags || '' }}
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: plscommit-${{ matrix.target }}
path: zig-out/bin/plscommit