-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
38 additions
and
9 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,24 @@ | ||
image: openjdk:17 | ||
image: ubuntu:latest | ||
|
||
variables: | ||
CI_NAME: "GitLab CI" | ||
|
||
stages: | ||
- test | ||
|
||
before_script: | ||
- apt-get update -qq && apt-get install -y curl zip | ||
- curl -s "https://get.sdkman.io" | bash | ||
- echo sdkman_auto_answer=true > $HOME/.sdkman/etc/config | ||
- echo sdkman_auto_selfupdate=true >> $HOME/.sdkman/etc/config | ||
- source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
- sdk install java 17.0.11-tem | ||
- sdk install kotlin 2.0.0 | ||
- source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
|
||
test: | ||
stage: test | ||
script: | ||
- ./bld download | ||
- ./bld compile | ||
- ./bld test | ||
- ./bld download | ||
- ./bld compile | ||
- ./bld test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
image: openjdk:17 | ||
image: ubuntu:latest | ||
|
||
pipelines: | ||
default: | ||
- step: | ||
name: Test with bld | ||
script: | ||
# Install Java & Kotlin via SDKMAN! | ||
- apt-get update -qq && apt-get install -y curl zip | ||
- curl -s "https://get.sdkman.io" | bash | ||
- echo sdkman_auto_answer=true > $HOME/.sdkman/etc/config | ||
- echo sdkman_auto_selfupdate=true >> $HOME/.sdkman/etc/config | ||
- source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
- sdk install java 17.0.11-tem | ||
- sdk install kotlin 2.0.0 | ||
- source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
# Download, compile and test with bld | ||
- ./bld download | ||
- ./bld compile | ||
- ./bld test |
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