Merge branch 'main' of github.com:prajwalch/yazap #147
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: test | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout branch | |
uses: actions/checkout@v4 | |
- name: Setup zig master build | |
uses: goto-bus-stop/setup-zig@v2.2.0 | |
with: | |
version: master | |
- name: Run a build test | |
run: zig build test | |
- name: Run test by passing test file | |
run: zig test src/test.zig | |
- name: Build examples | |
run: zig build examples |