Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/actions/setup-effekt/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Setup Effekt Environment'
description: 'Sets up Java, Node, SBT, Mill, and system dependencies for Effekt'
description: 'Sets up Java, Node, SBT, and system dependencies for Effekt'

inputs:
java-version:
Expand All @@ -10,10 +10,6 @@ inputs:
description: 'Node version to install'
required: false
default: '16.x'
mill-version:
description: 'Mill version to install'
required: false
default: '1.0.6'
llvm-version:
description: 'LLVM version to install'
required: false
Expand All @@ -40,12 +36,6 @@ runs:
- name: Setup SBT
uses: sbt/setup-sbt@v1

- name: Setup Mill
if: runner.os != 'Windows'
uses: zhutmost/setup-mill@v1.3.0
with:
mill-version: ${{ inputs.mill-version }}

- name: Set up NodeJS ${{ inputs.node-version }}
uses: actions/setup-node@v4
with:
Expand Down
16 changes: 9 additions & 7 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: ./.github/actions/setup-effekt

- name: Compile project
run: mill project.testCompile
run: sbt compile Test/compile

- name: Cache compiled artifacts
uses: actions/cache/save@v5
Expand Down Expand Up @@ -48,13 +48,15 @@ jobs:

- name: Run internal tests
run: |
mill -j1 project.testRemaining
sbt testRemaining
sbt kiamaJVM/test
sbt effektJS/test

- name: Assemble fully optimized JS file
run: mill project.assembleJS
run: sbt effektJS/assembleJS

- name: Install effekt binary
run: mill project.install
run: sbt install

- name: Test effekt binary
run: effekt --help
Expand Down Expand Up @@ -109,7 +111,7 @@ jobs:
- uses: ./.github/actions/restore-build-cache

- name: Run JavaScript backend tests
run: mill project.testBackendJS
run: sbt testBackendJS

chez-tests:
name: "Chez Backend"
Expand All @@ -127,7 +129,7 @@ jobs:
- uses: ./.github/actions/restore-build-cache

- name: Run Chez Scheme backend tests
run: mill --jobs 1 project.testBackendChez
run: sbt testBackendChez

llvm-tests:
name: "LLVM Backend"
Expand All @@ -146,4 +148,4 @@ jobs:
- uses: ./.github/actions/restore-build-cache

- name: Run LLVM backend tests (with debug & valgrind)
run: EFFEKT_VALGRIND=1 EFFEKT_DEBUG=1 mill project.testBackendLLVM
run: EFFEKT_VALGRIND=1 EFFEKT_DEBUG=1 sbt testBackendLLVM
Loading
Loading