Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 修复circleci没有docker的问题 #483

Closed
wants to merge 7 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 33 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,51 @@
version: 2.1

jobs:
jdk21-ci:
docker:
- image: cimg/openjdk:21.0.5

executors:
jdk21:
environment:
JVM_OPTS: -Xmx3200m
TERM: dumb
machine:
image: ubuntu-2204:2024.11.1
docker_layer_caching: true
resource_class: arm.medium
jdk22:
environment:
JVM_OPTS: -Xmx3200m
TERM: dumb
machine:
image: ubuntu-2204:2024.11.1
docker_layer_caching: true
resource_class: arm.medium
jdk23:
environment:
JVM_OPTS: -Xmx3200m
TERM: dumb
machine:
image: ubuntu-2204:2024.11.1
docker_layer_caching: true
resource_class: arm.medium

jobs:
jdk21-ci:
executor: jdk21
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y openjdk-21-jdk
- checkout
- run: ./gradlew build

jdk22-ci:
docker:
- image: cimg/openjdk:22.0.2

environment:
JVM_OPTS: -Xmx3200m
TERM: dumb

executor: jdk22
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y openjdk-22-jdk
- checkout
- run: ./gradlew build

jdk23-ci:
docker:
- image: cimg/openjdk:23.0.1

environment:
JVM_OPTS: -Xmx3200m
TERM: dumb

executor: jdk23
steps:
- run: sudo apt-get update
- run: sudo apt-get install -y openjdk-23-jdk
- checkout
- run: ./gradlew build

Expand Down