-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumped bld to version 2.0.1 Bumped Kotlin extension to version 1.0.0 Bumped Dokka extension to version 1.0.0 Bumped Detekt extension to version 0.9.5 Bumped JUnit to version 5.10.3
- Loading branch information
Showing
9 changed files
with
108 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
sdkman: joshdholtz/[email protected] | ||
|
||
commands: | ||
build_and_test: | ||
parameters: | ||
kotlin: | ||
type: string | ||
reports-dir: | ||
type: string | ||
default: "build/reports/test_results" | ||
steps: | ||
- checkout | ||
- sdkman/setup-sdkman | ||
- sdkman/sdkman-install: | ||
candidate: kotlin | ||
version: << parameters.kotlin >> | ||
- run: | ||
name: Download dependencies | ||
command: ./bld download | ||
- run: | ||
name: Compile source | ||
command: ./bld compile | ||
- run: | ||
name: Check source with Detekt | ||
command: ./bld detekt | ||
- run: | ||
name: Run tests | ||
command: ./bld test -reports-dir=<< parameters.reports-dir >> | ||
- run: | ||
name: Generate documentation with Dokka | ||
command: | | ||
./bld javadoc | ||
./bld dokka-html | ||
./bld dokka-gfm | ||
./bld dokka-jekyll | ||
- store_test_results: | ||
path: << parameters.reports-dir >> | ||
|
||
jobs: | ||
bld_jdk17: | ||
docker: | ||
- image: cimg/openjdk:17 | ||
steps: | ||
- build_and_test: | ||
kotlin: 1.9.24 | ||
|
||
bld_jdk21: | ||
docker: | ||
- image: cimg/openjdk:21 | ||
steps: | ||
- build_and_test: | ||
kotlin: 2.0.0 | ||
|
||
workflows: | ||
bld: | ||
jobs: | ||
- bld_jdk17 | ||
- bld_jdk21 |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Binary file not shown.
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,8 +1,12 @@ | ||
bld.downloadExtensionJavadoc=false | ||
bld.downloadExtensionSources=true | ||
bld.extensions=com.uwyn.rife2:bld-kotlin:0.9.8 | ||
bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.4 | ||
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES | ||
bld.downloadLocation= | ||
bld.extensions= | ||
bld.javaOptions= | ||
bld.javacOptions= | ||
bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.5 | ||
bld.extension-dokka=com.uwyn.rife2:bld-dokka:1.0.0 | ||
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.0.0 | ||
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_RELEASES,RIFE2_SNAPSHOTS | ||
bld.sourceDirectories= | ||
bld.version=1.9.1 | ||
bld.version=2.0.1 |
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