Update javacpp versions, deploy plugin

master
agibsonccc 2021-03-09 11:23:31 +09:00
parent 061f3268e7
commit 1f6cb95c67
16 changed files with 88 additions and 2 deletions

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
android-x86_64: android-x86_64:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads. #Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
android-arm32: android-arm32:

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads. #Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
android-arm64: android-arm64:

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads. #Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
linux-arm32: linux-arm32:

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads. #Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
linux-arm64: linux-arm64:

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
linux-x86_64-cuda_11-0: linux-x86_64-cuda_11-0:

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
linux-x86_64-cuda-11-2: linux-x86_64-cuda-11-2:
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads. #Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
linux-x86_64: linux-x86_64:

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
mac-x86_64: mac-x86_64:
runs-on: macos-10.15 runs-on: macos-10.15

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
windows-x86_64-cuda-11-0: windows-x86_64-cuda-11-0:
runs-on: windows-2019 runs-on: windows-2019

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
windows-x86_64-cuda-11-2: windows-x86_64-cuda-11-2:
runs-on: windows-2019 runs-on: windows-2019

View File

@ -1,6 +1,7 @@
on: on:
schedule: schedule:
- cron: "0 */12 * * *" - cron: "0 */12 * * *"
workflow_dispatch:
jobs: jobs:
windows-x86_64: windows-x86_64:

View File

@ -325,6 +325,42 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>default-deploy</id>
<phase>none</phase>
</execution>
<execution>
<id>java-classes</id>
<phase>deploy</phase>
<configuration>
<packaging>jar</packaging>
<artifactId>${project.artifactId}</artifactId>
<groupId>${project.groupId}</groupId>
<version>${project.version}</version>
<sources>${project.build.directory}/nd4j-cuda-${cuda.version}-${project.version}.jar</sources>
</configuration>
</execution>
<execution>
<id>native-deps</id>
<phase>deploy</phase>
<configuration>
<packaging>jar</packaging>
<artifactId>${project.artifactId}</artifactId>
<groupId>${project.groupId}</groupId>
<version>${project.version}</version>
<classifier>${javacpp.platform}</classifier>
<sources>${project.build.directory}/nd4j-cuda-${cuda.version}-${project.version}-${javacpp.platform}.jar</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>

View File

@ -261,6 +261,44 @@
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<executions>
<execution>
<id>default-deploy</id>
<phase>none</phase>
</execution>
<execution>
<id>java-classes</id>
<phase>deploy</phase>
<configuration>
<packaging>jar</packaging>
<artifactId>${project.artifactId}</artifactId>
<groupId>${project.groupId}</groupId>
<version>${project.version}</version>
<sources>${project.build.directory}/nd4j-native-${project.version}.jar</sources>
</configuration>
</execution>
<execution>
<id>native-deps</id>
<phase>deploy</phase>
<configuration>
<packaging>jar</packaging>
<artifactId>${project.artifactId}</artifactId>
<groupId>${project.groupId}</groupId>
<version>${project.version}</version>
<classifier>${javacpp.platform}</classifier>
<sources>${project.build.directory}/nd4j-native-${project.version}-${javacpp.platform}.jar</sources>
</configuration>
</execution>
</executions>
</plugin>
</plugins> </plugins>
</build> </build>

View File

@ -38,7 +38,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target> <maven.compiler.target>1.8</maven.compiler.target>
<onnxruntime.version>1.6.0</onnxruntime.version> <onnxruntime.version>1.7.0</onnxruntime.version>
<onnxruntime.javacpp.version>${onnxruntime.version}-${javacpp.version}</onnxruntime.javacpp.version> <onnxruntime.javacpp.version>${onnxruntime.version}-${javacpp.version}</onnxruntime.javacpp.version>
</properties> </properties>

View File

@ -194,7 +194,7 @@
<openblas.version>0.3.13</openblas.version> <openblas.version>0.3.13</openblas.version>
<mkl.version>2021.1</mkl.version> <mkl.version>2021.1</mkl.version>
<opencv.version>4.5.1</opencv.version> <opencv.version>4.5.1</opencv.version>
<ffmpeg.version>4.3.1</ffmpeg.version> <ffmpeg.version>4.3.2</ffmpeg.version>
<leptonica.version>1.80.0</leptonica.version> <leptonica.version>1.80.0</leptonica.version>
<hdf5.version>1.12.0</hdf5.version> <hdf5.version>1.12.0</hdf5.version>
<ale.version>0.6.1</ale.version> <ale.version>0.6.1</ale.version>