|
62 | 62 | fi
|
63 | 63 | echo "Repository URL: $REPOSITORY_URL"
|
64 | 64 | echo "::set-output name=repositoryUrl::$REPOSITORY_URL"
|
| 65 | +# linux-arm64: |
| 66 | +# runs-on: linux-arm64-ubuntu2204 |
| 67 | +# needs: prepare |
| 68 | +# strategy: |
| 69 | +# matrix: |
| 70 | +# ext: [""] |
| 71 | +# steps: |
| 72 | +# - name: Install environment |
| 73 | +# run: | |
| 74 | +# sudo apt update |
| 75 | +# sudo apt install -y curl wget unzip tar git gcc g++ maven default-jdk |
| 76 | +# - name: Checkout repository |
| 77 | +# uses: actions/checkout@v1 |
| 78 | +# - name: Build project |
| 79 | +# run: | |
| 80 | +# gcc --version |
| 81 | +# mvn -version |
| 82 | +# echo "<settings><servers><server><id>ossrh</id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml |
| 83 | +# mvn clean install -pl '!tensorflow-framework' -B -U -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }} |
| 84 | +# - name: Deploy native artifact |
| 85 | +# if: env.DEPLOY_RELEASE == 'true' || env.DEPLOY_SNAPSHOT == 'true' |
| 86 | +# run: mvn -f tensorflow-core/tensorflow-core-native/pom.xml deploy:deploy-file@native-only -B -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }} -Durl=${{ needs.prepare.outputs.repositoryUrl }} |
65 | 87 | linux-x86_64:
|
66 | 88 | runs-on: ubuntu-20.04
|
67 | 89 | needs: prepare
|
@@ -178,32 +200,9 @@ jobs:
|
178 | 200 | run: |
|
179 | 201 | call mvn -f tensorflow-core/tensorflow-core-native/pom.xml deploy:deploy-file@native-only -B -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }} -Durl=${{ needs.prepare.outputs.repositoryUrl }}
|
180 | 202 | if ERRORLEVEL 1 exit /b
|
181 |
| - linux-arm64: |
182 |
| - runs-on: linux-arm64-ubuntu2204 |
183 |
| - needs: prepare |
184 |
| - strategy: |
185 |
| - matrix: |
186 |
| - ext: [""] |
187 |
| - steps: |
188 |
| - - name: Install environment |
189 |
| - run: | |
190 |
| - sudo apt update |
191 |
| - sudo apt install -y curl wget unzip tar git gcc g++ maven default-jdk |
192 |
| - - name: Checkout repository |
193 |
| - uses: actions/checkout@v1 |
194 |
| - - name: Build project |
195 |
| - run: | |
196 |
| - gcc --version |
197 |
| - mvn -version |
198 |
| - echo "<settings><servers><server><id>ossrh</id><username>${{ secrets.CI_DEPLOY_USERNAME }}</username><password>${{ secrets.CI_DEPLOY_PASSWORD }}</password></server></servers></settings>" > $HOME/.m2/settings.xml |
199 |
| - mvn clean install -pl '!tensorflow-framework' -B -U -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }} |
200 |
| - - name: Deploy native artifact |
201 |
| - if: env.DEPLOY_RELEASE == 'true' || env.DEPLOY_SNAPSHOT == 'true' |
202 |
| - run: mvn -f tensorflow-core/tensorflow-core-native/pom.xml deploy:deploy-file@native-only -B -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }} -Durl=${{ needs.prepare.outputs.repositoryUrl }} |
203 |
| - |
204 | 203 | deploy:
|
205 | 204 | if: ${{ github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/staging') }} # DEPLOY_SNAPSHOT (releases should be signed and deployed manually from local machine)
|
206 |
| - needs: [linux-x86_64, macosx-x86_64, windows-x86_64, macosx-arm64, linux-arm64] |
| 205 | + needs: [linux-x86_64, macosx-x86_64, windows-x86_64, macosx-arm64] #, linux-arm64] |
207 | 206 | runs-on: ubuntu-20.04
|
208 | 207 | steps:
|
209 | 208 | - name: Configure Java
|
|
0 commit comments