Updated dependencies
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
This commit is contained in:
parent
bb480c6796
commit
d6228f1766
9 changed files with 109 additions and 19 deletions
61
.cirleci/config.yml
Normal file
61
.cirleci/config.yml
Normal file
|
@ -0,0 +1,61 @@
|
|||
version: 2.1
|
||||
|
||||
orbs:
|
||||
sdkman: joshdholtz/sdkman@0.2.0
|
||||
|
||||
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
|
Loading…
Add table
Add a link
Reference in a new issue