From 1044621caf572ddf98d80d21b10bd91faeb1d5c6 Mon Sep 17 00:00:00 2001 From: Ellie Bahadori Date: Mon, 20 Jul 2020 16:58:36 -0700 Subject: [PATCH] Setup initial CI pipeline file --- .../continuous-integration-workflow.yml | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/continuous-integration-workflow.yml diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml new file mode 100644 index 00000000..02ed3937 --- /dev/null +++ b/.github/workflows/continuous-integration-workflow.yml @@ -0,0 +1,30 @@ +name: CI + +on: + push: + branches: + - deploy-pipeline-test +# schedule: +# - cron: '0 10 * * *' # Once per day at 10am UTC + +jobs: + build: + name: Build + runs-on: ubuntu-latest + strategy: + matrix: + jdk: [8, 11] + fail-fast: false + steps: + - uses: actions/checkout@v2 + - name: Set up JDK ${{ matrix.jdk }} + uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.jdk }} + - name: Cache Gradle packages + uses: actions/cache@v2 + with: + path: ~/.gradle/caches + key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }} + - name: Build with Gradle + run: ./gradlew clean build --no-daemon --stacktrace