Skip to content

Commit 7c245d2

Browse files
authored
Add .circleci/config.yml
1 parent 2b3884f commit 7c245d2

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.circleci/config.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Use the latest 2.1 version of CircleCI pipeline process engine.
2+
# See: https://circleci.com/docs/configuration-reference
3+
version: 2.1
4+
5+
# Define a job to be invoked later in a workflow.
6+
# See: https://circleci.com/docs/configuration-reference/#jobs
7+
jobs:
8+
build-linux:
9+
# Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub.
10+
# See: https://circleci.com/docs/configuration-reference/#executor-job
11+
docker:
12+
- image: cimg/openjdk:11.0.19
13+
# Add steps to the job
14+
# See: https://circleci.com/docs/configuration-reference/#steps
15+
steps:
16+
- checkout
17+
- run:
18+
name: "Build gradle"
19+
command: chmod +x gradlew && ./gradlew clean build
20+
21+
# Orchestrate jobs using workflows
22+
# See: https://circleci.com/docs/configuration-reference/#workflows
23+
workflows:
24+
build-linux-workflow:
25+
jobs:
26+
- build-linux

0 commit comments

Comments
 (0)