Add CI #2
Workflow file for this run
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: CI | |
| on: [push] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: | | |
| sudo snap install zig --classic | |
| zig version | |
| - name: Fetch test-data | |
| run: git submodule update --init | |
| - name: Run tests | |
| run: zig build test | |
| - name: Run lookup example | |
| run: zig build example_lookup | |
| - name: Run within example | |
| run: zig build example_within |