Moved from Gradle to bld

This commit is contained in:
Erik C. Thauvin 2023-11-12 00:14:33 -08:00
parent b7aee90edd
commit d326f5c6dd
83 changed files with 905 additions and 907 deletions

View file

@ -4,51 +4,41 @@ defaults: &defaults
environment:
JVM_OPTS: -Xmx3200m
TERM: dumb
CI: true
CI_NAME: "CircleCI"
defaults_gradle: &defaults_gradle
defaults_gradle: &defaults_bld
steps:
- checkout
- restore_cache:
keys:
- gradle-dependencies-{{ checksum "build.gradle.kts" }}
# fallback to using the latest cache if no exact match is found
- gradle-dependencies-
- run:
name: Gradle Dependencies
command: ./gradlew dependencies
- save_cache:
paths: ~/.m2
key: gradle-dependencies-{{ checksum "build.gradle.kts" }}
name: Download the bld dependencies
command: ./bld download
- run:
name: Run All Checks
command: ./gradlew check
- store_artifacts:
path: build/reports/
destination: reports
- store_test_results:
path: build/reports/
name: Compile source with bld
command: ./bld compile
- run:
name: Run tests with bld
command: ./bld test
jobs:
build_gradle_jdk18:
bld_jdk17:
<<: *defaults
docker:
- image: cimg/openjdk:18.0
- image: cimg/openjdk:17.0
<<: *defaults_gradle
<<: *defaults_bld
build_gradle_jdk11:
bld_jdk20:
<<: *defaults
docker:
- image: cimg/openjdk:11.0
- image: cimg/openjdk:20.0
<<: *defaults_gradle
<<: *defaults_bld
workflows:
version: 2
gradle:
jobs:
- build_gradle_jdk11
- build_gradle_jdk18
bld:
jobs:
- bld_jdk17
- bld_jdk20