semver/.circleci/config.yml
Erik C. Thauvin 3b18ff1612
Updated dependencies
Bumped Gradle to version 8.10.1
Bumped Kotlin to version 2.0.20
Bumped bld to version 2.1.0
2024-09-09 11:49:35 -07:00

42 lines
845 B
YAML

version: 2.1
commands:
build_and_test:
parameters:
reports-dir:
type: string
default: "build/reports/test_results"
steps:
- checkout
- run:
name: Download dependencies
command: ./bld download
- run:
name: Compile source
command: ./bld compile
- run:
name: Run tests
command: ./bld jacoco -reports-dir=<< parameters.reports-dir >>
- store_test_results:
path: << parameters.reports-dir >>
- store_artifacts:
path: build/reports/jacoco/test/html
jobs:
bld_jdk17:
docker:
- image: cimg/openjdk:17
steps:
- build_and_test
bld_jdk21:
docker:
- image: cimg/openjdk:21
steps:
- build_and_test
workflows:
bld:
jobs:
- bld_jdk17
- bld_jdk21