Skip to content

Add option to build tools #24

Add option to build tools

Add option to build tools #24

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
zig-version: [master]
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- zig-version: "0.15.1"
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Zig
uses: mlugg/setup-zig@v2
with:
version: ${{ matrix.zig-version }}
- name: Check Formatting
run: zig fmt --ast-check --check .
- name: Build
run: zig build --summary all
- name: Set up readline for tools
run: |
sudo apt-get update
sudo apt-get install -y libreadline-dev
- name: Build (with tools)
run: zig build -Dtools --summary all