Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Enable PIC

Enable PIC #40

Workflow file for this run

name: CI
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
workflow_dispatch: { }
permissions:
contents: read
jobs:
build:
name: 'test'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Zig
shell: bash
run: |
curl -sL "https://ziglang.org/builds/zig-linux-x86_64-${ZIG_VERSION}.tar.xz" > ${{ runner.temp }}/zig.tar.xz
tar -xf ${{ runner.temp }}/zig.tar.xz -C ${{ runner.temp }}
echo "PATH=${{ runner.temp }}/zig-linux-x86_64-${ZIG_VERSION}:$PATH" >> $GITHUB_ENV
env:
ZIG_VERSION: "0.12.0-dev.2541+894493549"
- name: Zig Lint - Fmt
run: zig fmt --check .
- name: Zig Test
run: zig build test
- name: Zig Bench
run: zig build bench