From 5963a15d47bc7206bcbd81cb1e40c7d910a5b150 Mon Sep 17 00:00:00 2001 From: agibsonccc Date: Fri, 5 Mar 2021 16:41:12 +0900 Subject: [PATCH] Update line endings --- ...ild-deploy-linux-jetsonnano-selfhosted.yml | 50 ------------------- .github/workflows/build-deploy-mac-arm64.yml | 33 ------------ 2 files changed, 83 deletions(-) delete mode 100644 .github/workflows/build-deploy-linux-jetsonnano-selfhosted.yml delete mode 100644 .github/workflows/build-deploy-mac-arm64.yml diff --git a/.github/workflows/build-deploy-linux-jetsonnano-selfhosted.yml b/.github/workflows/build-deploy-linux-jetsonnano-selfhosted.yml deleted file mode 100644 index ef0b02ca0..000000000 --- a/.github/workflows/build-deploy-linux-jetsonnano-selfhosted.yml +++ /dev/null @@ -1,50 +0,0 @@ -on: - push: -jobs: - #Note: no -pl here because we publish everything from this branch and use this as the basis for all uploads. - linux-arm64: - runs-on: self-hosted - 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 - - name: Set up Java for publishing to GitHub Packages - uses: actions/setup-java@v1 - with: - java-version: 1.8 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Build on linux-x86_64 - shell: bash - env: - DEBIAN_FRONTEND: noninteractive - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DEPLOY: 1 - BUILD_USING_MAVEN: 1 - TARGET_OS: linux - CURRENT_TARGET: arm64 - CROSS_ROOT: ${GITHUB_WORKSPACE}/rootfs-nano - CROSS_COMPILE: ${GITHUB_WORKSPACE}/toolchain/gcc-4.8.5-aarch64/bin - CC: ${CROSS_COMPILE}/aarch64-unknown-linux-gnu-gcc - CXX: ${CROSS_COMPILE}/aarch64-unknown-linux-gnu-g++ - LD: ${CROSS_COMPILE}/aarch64-unknown-linux-gnu-ld - AR: ${CROSS_COMPILE}/aarch64-unknown-linux-gnu-ar - AS: ${CROSS_COMPILE}/aarch64-unknown-linux-gnu-as - RANLIB: ${CROSS_COMPILE}/aarch64-unknown-linux-gnu-ranlib - NVCC: ${GITHUB_WORKSPACE}/cuda-10.2/bin/nvcc - - run: | - wget https://developer.nvidia.com/embedded/dlc/l4t-gcc-toolchain-64-bit-28-3 - tar xpvf l4t-gcc-toolchain-64-bit-28-3 - mv install gcc-4.8.5-aarch64 - ${GITHUB_WORKSPACE}/change-cuda-versions.sh 10.2 - wget https://github.com/KonduitAI/deeplearning4j/releases/download/cuda-10.2/cuda-10.2.tar - tar xvf cuda-10.2.tar - mvn --version - cmake --version - protoc --version - ${GITHUB_WORKSPACE}/libnd4j/pi_build.sh - - diff --git a/.github/workflows/build-deploy-mac-arm64.yml b/.github/workflows/build-deploy-mac-arm64.yml deleted file mode 100644 index bb1b81888..000000000 --- a/.github/workflows/build-deploy-mac-arm64.yml +++ /dev/null @@ -1,33 +0,0 @@ -on: - push: -jobs: - mac-x86_64: - runs-on: macos-10.15 - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.8.0 - with: - access_token: ${{ github.token }} - - uses: actions/checkout@v2 - - name: Set up Java for publishing to GitHub Packages - uses: actions/setup-java@v1 - with: - 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 - - name: Build and install - shell: bash - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - PUBLISH_TO: ossrh - MAVEN_USERNAME: ${{ secrets.SONATYPE_USER_1 }} - MAVEN_PASSWORD: ${{ secrets.SONATYPE_USER1_PASS }} - MAVEN_GPG_PASSPHRASE: ${{ secrets.PACKAGES_GPG_PASS }} - run: | - brew install unzip ccache gcc swig autoconf-archive automake cmake libomp libtool libusb ant maven nasm xz pkg-config sdl gpg1 bison flex perl ragel binutils gradle gmp isl libmpc mpfr wget python - mvn -Possrh -Djavacpp.platform=macosx-arm64 -Djavacpp.platform=macosx-arm64 -pl ":nd4j-native,:libnd4j" --also-make -Dlibnd4j.platform=macosx-x86_64 -Dlibnd4j.chip=cpu clean --batch-mode deploy -DskipTests - -