cavis/.github/workflows/build-deploy-linux-arm64.yml

44 lines
1.3 KiB
YAML
Raw Normal View History

2021-03-05 01:37:29 +01:00
on:
2021-03-06 01:24:24 +01:00
schedule:
- cron: "0 */12 * * *"
2021-03-09 03:23:31 +01:00
workflow_dispatch:
2021-03-10 00:01:08 +01:00
push:
2021-03-05 01:37:29 +01:00
jobs:
#Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads.
linux-arm64:
2021-03-10 00:01:08 +01:00
runs-on: ubuntu-16.04
2021-03-05 01:37:29 +01:00
steps:
- uses: AutoModality/action-clean@v1
- name: Cancel Previous Runs
uses: styfle/cancel-workflow-action@0.8.0
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v2
- uses: ./.github/actions/install-protobuf-linux
- name: Set up Java for publishing to GitHub Packages
uses: actions/setup-java@v1
with:
2021-03-05 09:13:48 +01:00
java-version: 1.8
server-id: sonatype-nexus-snapshots
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.SONATYPE_GPG_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2021-03-05 01:37:29 +01:00
- name: Build on linux-arm64
shell: bash
env:
DEBIAN_FRONTEND: noninteractive
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEPLOY: 1
BUILD_USING_MAVEN: 1
TARGET_OS: linux
CURRENT_TARGET: arm64
PUBLISH_TO: ossrh
run: |
2021-03-05 09:13:48 +01:00
mvn --version
cmake --version
protoc --version
${GITHUB_WORKSPACE}/libnd4j/pi_build.sh
2021-03-05 01:37:29 +01:00