Skip to content

Commit af370fe

Browse files
committed
Disable broken linux-arm64 build
1 parent e959077 commit af370fe

File tree

1 file changed

+23
-24
lines changed

1 file changed

+23
-24
lines changed

.github/workflows/build.yml

+23-24
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,28 @@ jobs:
6262
fi
6363
echo "Repository URL: $REPOSITORY_URL"
6464
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 }}
6587
linux-x86_64:
6688
runs-on: ubuntu-20.04
6789
needs: prepare
@@ -178,32 +200,9 @@ jobs:
178200
run: |
179201
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 }}
180202
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-
204203
deploy:
205204
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]
207206
runs-on: ubuntu-20.04
208207
steps:
209208
- name: Configure Java

0 commit comments

Comments
 (0)