Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 48 additions & 57 deletions .github/workflows/download-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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 <<EOF >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 <<EOF >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 <<EOF >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 <<EOF >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
Expand Down
2 changes: 1 addition & 1 deletion test-systemds/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<dependency>
<groupId>org.apache.systemds</groupId>
<artifactId>systemds</artifactId>
<version>2.2.1</version>
<version>3.1.0</version>
</dependency>
</dependencies>
</project>