diff --git a/.github/workflows/wf_build-test-deploy.yml b/.github/workflows/wf_build-test-deploy.yml new file mode 100644 index 0000000..c4968b0 --- /dev/null +++ b/.github/workflows/wf_build-test-deploy.yml @@ -0,0 +1,32 @@ +name: Continuous Integration + +on: + pull_request: + branches: [ "main", "release" ] + workflow_dispatch: + +env: + # TODO: keep these JAVA and GRADLE configs for now but check + # if needed in the future + JAVA_OPTS: -Xms512m -Xmx1024m + GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.configureondemand=true -Dorg.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8" + +jobs: + build_artifacts: + + runs-on: ubuntu-latest + timeout-minutes: 30 + + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - uses: actions/setup-java@v2 + with: + distribution: 'adopt' + java-version: '17' + + - name: Build and Test with Gradle + run: ./gradlew test +