From a799c37ee3401a0aa55e66eb5664634772affdce Mon Sep 17 00:00:00 2001 From: XyperCode Date: Tue, 7 Nov 2023 20:32:03 +0100 Subject: [PATCH] Create CircleCI config --- .circleci/config.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..6485bfa --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,33 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + build: + # Specify the execution environment. You can specify an image from Dockerhub, or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: gradle:jdk17 + description: "Build Linux DEB package" + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "Make gradlew executable" + command: "chmod +x gradlew" + - run: + name: "Build Project" + command: | + ./gradlew clean build + environment: + CIRCLE_CI: "true" + +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + build-workflow: + jobs: + - build