Fixed typo
This commit is contained in:
parent
d6228f1766
commit
ea07f91e48
1 changed files with 0 additions and 0 deletions
61
.circleci/config.yml
Normal file
61
.circleci/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