Skip to content

Add options to remove dependencies #12

Add options to remove dependencies

Add options to remove dependencies #12

Workflow file for this run

name: Continuous Integration
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
zig-version: [master]
os: [ubuntu-latest]
build-options: ["", "--Ddisable-ssl --Ddisable-zlib --Ddisable-zstd"]
include:
- zig-version: "0.13.0"
os: ubuntu-latest
- zig-version: "master"
os: macos-latest
build-options: "--disable-ssl"
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Zig
uses: mlugg/setup-zig@v1
with:
version: ${{ matrix.zig-version }}
use-cache: false
- name: Run `build`
run: zig build ${{ matrix.build-options }} --summary all
- name: Build example programs
run: zig build ${{ matrix.build-options }} examples --summary all