diff --git a/.github/workflows/build-cron.yml b/.github/workflows/build-cron.yml new file mode 100644 index 00000000000..dfc5b929c98 --- /dev/null +++ b/.github/workflows/build-cron.yml @@ -0,0 +1,67 @@ +#------------------------------------------------------------- +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +# +#------------------------------------------------------------- + +name: Build Different Distributions + +on: + schedule: + - cron: '30 1 * * 3' # Wednesday at 1:30 AM UTC + workflow_dispatch: + +jobs: + build-cron: + if: github.repository == 'apache/systemds' + name: ${{ matrix.os }} Java ${{ matrix.java }} ${{ matrix.javadist }} + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + os: [ + ubuntu-latest, + macOS-latest, + windows-latest + ] + java: [ + # '8', + '11', + # '16' + ] + javadist: [ + 'temurin', + 'zulu', + 'adopt', + 'adopt-openj9', + 'liberica', + 'microsoft' + ] + steps: + - name: Checkout Repository + uses: actions/checkout@v3 + + - name: Setup Java ${{ matrix.java }} ${{ matrix.javadist }} + uses: actions/setup-java@v3 + with: + distribution: ${{ matrix.javadist }} + java-version: ${{ matrix.java }} + cache: 'maven' + + - name: Build + run: mvn package diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 412e95243d3..e2bb4269dad 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,10 +59,12 @@ jobs: # '16' ] javadist: [ - # 'adopt', - 'adopt-openj9', + # 'temurin', # 'zulu', - # 'temurin' + 'adopt', + # 'adopt-openj9', + # 'liberica', + # 'microsoft' ] steps: - name: Checkout Repository diff --git a/.github/workflows/componentTests.yml b/.github/workflows/componentTests.yml index 79f28ce55b5..b10018f934a 100644 --- a/.github/workflows/componentTests.yml +++ b/.github/workflows/componentTests.yml @@ -49,7 +49,7 @@ jobs: matrix: os: [ubuntu-latest] java: ['11'] - javadist: ['adopt-openj9'] + javadist: ['adopt'] name: ${{ matrix.os }} steps: - name: Checkout Repository diff --git a/.github/workflows/docker-cd.yml b/.github/workflows/docker-cd.yml index cac3ccb6f11..0231d3c3394 100644 --- a/.github/workflows/docker-cd.yml +++ b/.github/workflows/docker-cd.yml @@ -23,7 +23,7 @@ name: Docker Image CI and CD on: schedule: - - cron: '30 1 * * *' # everyday at 1:30 PM UTC + - cron: '30 1 * * 3' # Wednesday at 1:30 AM UTC workflow_dispatch: jobs: diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 70acffb7133..b442b044482 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -43,7 +43,7 @@ jobs: matrix: os: [ubuntu-latest] java: ['11'] - javadist: ['adopt-openj9'] + javadist: ['adopt'] name: Java steps: - name: Checkout Repository diff --git a/.github/workflows/license.yml b/.github/workflows/license.yml index e2cd2f0140c..ef515011e1a 100644 --- a/.github/workflows/license.yml +++ b/.github/workflows/license.yml @@ -50,7 +50,7 @@ jobs: matrix: os: [ubuntu-latest] java: ['11'] - javadist: ['adopt-openj9'] + javadist: ['adopt'] steps: - name: Checkout Repository diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 1c00f560202..1807b1681fa 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -51,7 +51,7 @@ jobs: python-version: [3.8] os: [ubuntu-latest] java: ['11'] - javadist: ['adopt-openj9'] + javadist: ['adopt'] name: ${{ matrix.os }} Java ${{ matrix.java }} ${{ matrix.javadist }} Python ${{ matrix.python-version }} steps: