diff --git a/.github/workflows/download-artifacts.yml b/.github/workflows/download-artifacts.yml index 0297abc..17f1543 100644 --- a/.github/workflows/download-artifacts.yml +++ b/.github/workflows/download-artifacts.yml @@ -8,8 +8,8 @@ on: workflow_dispatch: env: - RELEASE_TAG: '2.2.1-rc1' - RELEASE_VERSION: '2.2.1' + RELEASE_TAG: '3.1.0-rc1' + RELEASE_VERSION: '3.1.0' # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -21,18 +21,9 @@ jobs: strategy: fail-fast: false matrix: - os: [ - ubuntu-latest, - # macOS-latest, - # windows-latest - ] - java: '8' - javadist: [ - # 'adopt', - 'adopt-openj9', - # 'zulu', - # 'temurin' - ] + os: [ubuntu-latest] + java: [11] + javadist: ['adopt'] steps: - name: Checkout Repository uses: actions/checkout@v2 @@ -43,50 +34,50 @@ jobs: distribution: ${{ matrix.javadist }} java-version: ${{ matrix.java }} - - name: Download artifacts from dist.apache.org - run: | - wget -r -np -nH --cut-dirs=5 -R index.html https://dist.apache.org/repos/dist/dev/systemds/${RELEASE_TAG}/ -e robots=off - - - name: Test systemds-$RELEASE_VERSION-src.zip - run: | - unzip -q systemds-$RELEASE_VERSION-src.zip - cd systemds-$RELEASE_VERSION-src - mvn -ntp clean package -P distribution - mvn -ntp test -DenableGPU=true -Dmaven.test.skip=false -Dtest-parallel=suites -Dtest-threadCount=1 -Dtest-forkCount=1 -D automatedtestbase.outputbuffering=false -Dtest=org.apache.sysds.test.component.codegen.** - cd .. - rm -rf systemds-$RELEASE_VERSION-src + - name: Download artifacts from dist.apache.org + run: | + wget -r -np -nH --cut-dirs=5 -R index.html https://dist.apache.org/repos/dist/dev/systemds/${RELEASE_TAG}/ -e robots=off + + - name: Test systemds-$RELEASE_VERSION-src.zip + run: | + unzip -q systemds-$RELEASE_VERSION-src.zip + cd systemds-$RELEASE_VERSION-src + mvn -ntp clean package -P distribution + mvn -ntp test -DenableGPU=true -Dmaven.test.skip=false -Dtest-parallel=suites -Dtest-threadCount=1 -Dtest-forkCount=1 -D automatedtestbase.outputbuffering=false -Dtest=org.apache.sysds.test.component.codegen.** + cd .. + rm -rf systemds-$RELEASE_VERSION-src - - - name: Test systemds-$RELEASE_VERSION-src.tgz - run: | - tar -xzf systemds-$RELEASE_VERSION-src.tgz - cd systemds-$RELEASE_VERSION-src - mvn -ntp clean package -P distribution - mvn -ntp test -DenableGPU=true -Dmaven.test.skip=false -Dtest-parallel=suites -Dtest-threadCount=1 -Dtest-forkCount=1 -D automatedtestbase.outputbuffering=false -Dtest=org.apache.sysds.test.component.codegen.** - cd .. - rm -rf systemds-$RELEASE_VERSION-src - - - name: Test systemds-$RELEASE_VERSION-bin.zip - run: | - unzip -q systemds-$RELEASE_VERSION-bin.zip - cd systemds-$RELEASE_VERSION-bin - cat <hello.dml - print('Hello from SystemDS!') - EOF - ./bin/systemds hello.dml - cd .. - rm -rf systemds-$RELEASE_VERSION-bin - - - name: Test systemds-$RELEASE_VERSION-bin.tgz - run: | - tar -xzf systemds-$RELEASE_VERSION-bin.tgz - cd systemds-$RELEASE_VERSION-bin - cat <hello.dml - print('Hello from SystemDS!') - EOF - ./bin/systemds hello.dml - cd .. - rm -rf systemds-$RELEASE_VERSION-bin + + - name: Test systemds-$RELEASE_VERSION-src.tgz + run: | + tar -xzf systemds-$RELEASE_VERSION-src.tgz + cd systemds-$RELEASE_VERSION-src + mvn -ntp clean package -P distribution + mvn -ntp test -DenableGPU=true -Dmaven.test.skip=false -Dtest-parallel=suites -Dtest-threadCount=1 -Dtest-forkCount=1 -D automatedtestbase.outputbuffering=false -Dtest=org.apache.sysds.test.component.codegen.** + cd .. + rm -rf systemds-$RELEASE_VERSION-src + + - name: Test systemds-$RELEASE_VERSION-bin.zip + run: | + unzip -q systemds-$RELEASE_VERSION-bin.zip + cd systemds-$RELEASE_VERSION-bin + cat <hello.dml + print('Hello from SystemDS!') + EOF + ./bin/systemds hello.dml + cd .. + rm -rf systemds-$RELEASE_VERSION-bin + + - name: Test systemds-$RELEASE_VERSION-bin.tgz + run: | + tar -xzf systemds-$RELEASE_VERSION-bin.tgz + cd systemds-$RELEASE_VERSION-bin + cat <hello.dml + print('Hello from SystemDS!') + EOF + ./bin/systemds hello.dml + cd .. + rm -rf systemds-$RELEASE_VERSION-bin # # Runs a single command using the runners shell diff --git a/test-systemds/pom.xml b/test-systemds/pom.xml index da790cd..a2f8a40 100644 --- a/test-systemds/pom.xml +++ b/test-systemds/pom.xml @@ -35,7 +35,7 @@ org.apache.systemds systemds - 2.2.1 + 3.1.0