Fixed typo

This commit is contained in:
Erik C. Thauvin 2024-07-29 17:03:41 -07:00
parent d6228f1766
commit ea07f91e48
Signed by: erik
GPG key ID: 776702A6A2DA330E

61
.circleci/config.yml Normal file
View 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