Split module parsing and types out better #334
Workflow file for this run
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: Smol - build | |
on: | |
push: | |
branches: | |
- trunk | |
paths: | |
- "smol-backend/**" | |
- "smol-core/**" | |
- "smol-repl/**" | |
- "smol-wasm/**" | |
- "vendored/**" | |
- "cabal.project" | |
- "cabal.project.freeze" | |
pull_request: | |
branches: | |
- trunk | |
paths: | |
- "smol-backend/**" | |
- "smol-core/**" | |
- "smol-repl/**" | |
- "smol-wasm/**" | |
- "vendored/**" | |
- "cabal.project" | |
- "cabal.project.freeze" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
- name: Install LLVM and Clang | |
uses: KyleMayes/install-llvm-action@v1 | |
with: | |
version: "14.0" | |
- name: Cache Cabal build artifacts | |
uses: actions/cache@v3 | |
with: | |
path: | | |
${{ steps.setup-haskell-build-env.outputs.cabal-store }} | |
dist-newstyle | |
key: ${{ runner.os }}-cabal-9.6.3-${{ hashFiles('cabal.project.freeze') }} | |
restore-keys: | | |
${{ runner.os }}-cabal-9.6.3 | |
- uses: haskell-actions/setup@v2 | |
with: | |
ghc-version: '9.6.3' | |
cabal-version: '3.10.1.0' | |
- name: Test smol | |
run: make test-smol | |
- name: Test smol backend | |
run: make test-smol-backend | |
- name: Test smol wasm | |
run: make test-smol-wasm | |
- name: Build smol repl | |
run: make build-smol-repl |