Skip to content

Break up CI build into JVM, JS, and Native, & upgrade JDK.#72

Merged
davesmith00000 merged 3 commits intomainfrom
issue/71/replace-ci-script-with-gha-steps
Mar 14, 2026
Merged

Break up CI build into JVM, JS, and Native, & upgrade JDK.#72
davesmith00000 merged 3 commits intomainfrom
issue/71/replace-ci-script-with-gha-steps

Conversation

@davesmith00000
Copy link
Member

@davesmith00000 davesmith00000 commented Mar 14, 2026

The aim is to be able to re-run sub-sections of the failing build by splitting it into jobs. Often the JVM will be fine, but Native will fail, for example.

Relates to: #71

@davesmith00000 davesmith00000 requested a review from Copilot March 14, 2026 09:44
@davesmith00000 davesmith00000 self-assigned this Mar 14, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR restructures CI to make failures easier to re-run by splitting the single build job into separate JVM/JS/Native jobs, and upgrades the CI JDK to Temurin 17.

Changes:

  • Split the GitHub Actions workflow into jvm, js, and native jobs with platform-specific Mill targets.
  • Upgrade JDK from AdoptOpenJDK 11 to Temurin 17 in CI.
  • Remove the top-level ci.sh script previously used to run all CI tasks in one place.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 7 comments.

File Description
ci.sh Removes the monolithic CI runner script that executed all Mill tasks sequentially.
.github/workflows/ci.yml Introduces split jobs for JVM/Scala.js/Scala Native and bumps CI JDK to Temurin 17.
Comments suppressed due to low confidence (1)

ci.sh:1

  • Removing ci.sh eliminates a single local entry point for running CI tasks and forces the workflow to duplicate the command list. Consider keeping a script (or introducing ci-jvm.sh / ci-js.sh / ci-native.sh, or a single script with a platform argument) and invoking it from the workflow to keep CI and local runs aligned.

The original idea was to fail fast on the JVM build, but the JVM platform does not cover all modules, and no build artfacts are shared, so the benefit is questionable.
@davesmith00000 davesmith00000 merged commit 0beb8d9 into main Mar 14, 2026
3 checks passed
@davesmith00000 davesmith00000 deleted the issue/71/replace-ci-script-with-gha-steps branch March 14, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants