avoid passing ResultUsed to functions that cannot meaningfully use it #12
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
paths: | |
- '**.zig' | |
- '**.zon' | |
- '**.c' | |
- '**.h' | |
jobs: | |
build: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: mlugg/setup-zig@v1 | |
with: | |
version: master | |
- name: Build | |
run: zig build | |
# - name: Build 32-bit | |
# run: zig build -Dtarget=arm-linux | |
# if: matrix.os == 'ubuntu-latest' | |
- name: Build release | |
run: zig build --release=safe | |
- name: Run Tests | |
run: zig build test |