Skip to content

Commit a60b826

Browse files
committed
Removing macOS x86_64 from the CI.
1 parent d2a0a24 commit a60b826

1 file changed

Lines changed: 1 addition & 25 deletions

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -137,30 +137,6 @@ jobs:
137137
- name: Deploy native artifact
138138
if: env.DEPLOY_RELEASE == 'true' || env.DEPLOY_SNAPSHOT == 'true'
139139
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 }}
140-
macosx-x86_64:
141-
if: ${{ github.base_ref == 'r1.0' }}
142-
runs-on: macos-13
143-
needs: prepare
144-
strategy:
145-
matrix:
146-
ext: [""]
147-
steps:
148-
- name: Configure Java
149-
uses: actions/setup-java@v2
150-
with:
151-
distribution: 'adopt'
152-
java-version: '11'
153-
- name: Checkout repository
154-
uses: actions/checkout@v1
155-
- name: Build project
156-
run: |
157-
clang --version
158-
mvn -version
159-
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
160-
mvn clean install -pl '!tensorflow-framework' -B -U -e -Djavacpp.platform=${{ github.job }} -Djavacpp.platform.extension=${{ matrix.ext }}
161-
- name: Deploy native artifact
162-
if: env.DEPLOY_RELEASE == 'true' || env.DEPLOY_SNAPSHOT == 'true'
163-
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 }}
164140
windows-x86_64:
165141
runs-on: windows-2019
166142
needs: prepare
@@ -209,7 +185,7 @@ jobs:
209185
if ERRORLEVEL 1 exit /b
210186
deploy:
211187
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)
212-
needs: [linux-x86_64, macosx-x86_64, windows-x86_64, macosx-arm64, linux-arm64]
188+
needs: [linux-x86_64, windows-x86_64, macosx-arm64, linux-arm64]
213189
runs-on: ubuntu-22.04
214190
steps:
215191
- name: Configure Java

0 commit comments

Comments
 (0)