Prepare v0.1.1 release #22
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: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| lint-ubuntu: | |
| name: Formatting checks (Ubuntu) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Zig | |
| uses: mlugg/setup-zig@v2 | |
| with: | |
| version: 0.15.1 | |
| - name: Run formatting checks | |
| working-directory: matcha-compiler | |
| run: zig fmt --check . | |
| test-ubuntu: | |
| name: Compiler and E2E tests (Ubuntu) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Zig | |
| uses: mlugg/setup-zig@v2 | |
| with: | |
| version: 0.15.1 | |
| - name: Install system dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang libgc-dev | |
| - name: Run compiler tests | |
| working-directory: matcha-compiler | |
| run: zig build test --summary all | |
| - name: Run end-to-end tests | |
| working-directory: matcha-compiler | |
| run: | | |
| zig build | |
| zig test tests/e2e/tests.zig |