Moved from Gradle to bld

This commit is contained in:
Erik C. Thauvin 2023-05-10 00:21:31 -07:00
parent 84cfe6098d
commit 68975a497b
58 changed files with 632 additions and 2393 deletions

View file

@ -6,50 +6,38 @@ defaults: &defaults
TERM: dumb
CI_NAME: "CircleCI"
defaults_gradle: &defaults_gradle
defaults_gradle: &defaults_bld
steps:
- checkout
- restore_cache:
keys:
- gradle-dependencies-{{ checksum "build.gradle" }}
# 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" }}
- name: Grant execute permission for bld
command: chmod +x bld
- run:
name: Run All Checks
command: ./gradlew check
- store_artifacts:
path: build/reports/
destination: reports
- store_test_results:
path: build/reports/
- name: Download the dependencies
command: ./bld download
- run:
- name: Run tests with bld
command: ./bld c
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_jdk11:
<<: *defaults
docker:
- image: cimg/openjdk:11.0
<<: *defaults_gradle
<<: *defaults_bld
workflows:
version: 2
gradle:
jobs:
- build_gradle_jdk11
- build_gradle_jdk18
- bld_jdk11
- bld_gradle_jdk17