Skip to content

Use libreSSL instead of openSSL #38

Use libreSSL instead of openSSL

Use libreSSL instead of openSSL #38

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: ["-Dssl=None -Ddisable-zlib -Ddisable-zstd", "-Dssl=OpenSSL", "-Dssl=LibreSSL"]
include:
- zig-version: "0.13.0"
os: ubuntu-latest
build-options: "-Dssl=None -Ddisable-zlib -Ddisable-zstd"
#- zig-version: "master"
# os: macos-latest # Apple Silicon (M1)
# build-options: "-Ddisable-ssl"
- zig-version: "master"
os: macos-13 # Intel macOS
build-options: "-Dssl=LibreSSL"
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