Skip to content

Refactor lowering contract #38

Refactor lowering contract

Refactor lowering contract #38

Workflow file for this run

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