Skip to content

Refactor compiler service #2045

Refactor compiler service

Refactor compiler service #2045

Workflow file for this run

name: CI
on:
pull_request:
paths:
- .sbtopts
- build.sbt
- project/**
- snapi-frontend/**
- snapi-truffle/**
- .github/workflows/ci.yaml
- ci/**
workflow_dispatch:
defaults:
run:
shell: bash
env:
SBT_OPTS : -Dsbt.log.noformat=true -Xss2m -Xms1g
GITHUB_TOKEN: ${{ secrets.READ_PACKAGES }}
jobs:
code-checks:
runs-on: [self-hosted,snapi]
steps:
- uses: actions/checkout@v4
- run: ./ci/check headerCheckAll
- run: ./ci/check scalafmtCheckAll
- run: ./ci/check javafmtCheckAll
doc:
runs-on: [self-hosted,snapi]
steps:
- uses: actions/checkout@v4
- name: Ensure ANTLR JAR is present
uses: ./.github/actions/get-antlr4
- run: ./ci/check doc
compile:
strategy:
fail-fast: false
matrix:
component:
- snapi-frontend
- snapi-truffle
runs-on: [self-hosted,snapi]
steps:
- uses: actions/checkout@v4
- name: Ensure ANTLR JAR is present
uses: ./.github/actions/get-antlr4
- run: ./ci/compile ${{ matrix.component }}