Merge pull request #14 from Khitiara/main #51
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: Build | |
| on: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: | |
| - ubuntu-latest | |
| - macos-latest | |
| - windows-latest | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v2 | |
| - name: Setup Zig | |
| uses: mlugg/setup-zig@v1 | |
| with: | |
| version: 0.14.0 | |
| - name: Basic Build | |
| run: | | |
| zig build | |
| - name: Compile and run tests | |
| run: | | |
| zig build test |