feat: Establish core NanoMask infrastructure including compliance-gra… #88
This file contains hidden or 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: Zig CI | |
| on: | |
| push: | |
| branches: [ "develop", "main", "master" ] | |
| pull_request: | |
| branches: [ "develop", "main", "master" ] | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Zig | |
| uses: mlugg/setup-zig@v2 | |
| with: | |
| version: 0.15.2 | |
| - name: Check Formatting | |
| run: zig fmt --check src/ build.zig | |
| - name: Build | |
| run: zig build | |
| # TODO: Re-enable once CI runner can handle Zig test compilation | |
| # within GitHub Actions time limits (currently 6h+ on free tier). | |
| # - name: Test | |
| # run: zig build test | |
| # Compatibility matrix runs in dedicated workflow: compatibility.yml |