ci: check format, commits, compilation and tests #1

Merged
gk1623 merged 5 commits from ci-setup into master 2025-01-27 21:30:37 +00:00
7 changed files with 82 additions and 24 deletions
Showing only changes of commit 6c166e4f76 - Show all commits

View File

@@ -8,6 +8,7 @@ default:
check_format:
stage: check
needs: []
before_script:
- cs install scalafmt
script:
@@ -15,6 +16,7 @@ check_format:
check_commits:
stage: check
needs: []
image: node:lts-alpine
before_script:
- apk add git
@@ -25,6 +27,7 @@ check_commits:
compile_jvm:
stage: compile
needs: []
script:
- scala compile --platform jvm -Werror .
artifacts:
@@ -34,7 +37,6 @@ compile_jvm:
test_jvm:
stage: test
dependencies:
- compile_jvm
needs: [ compile_jvm ]
script:
- scala test --platform jvm .