Skip to content

Commit 2802158

Browse files
committed
remove ios native build
1 parent 97b02da commit 2802158

1 file changed

Lines changed: 1 addition & 58 deletions

File tree

.github/workflows/main.yml

Lines changed: 1 addition & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -155,45 +155,6 @@ jobs:
155155
**/build/changed-images/**
156156
**/build/test-results/**
157157
158-
# Build iOS natives
159-
BuildIosNatives:
160-
name: Build natives for iOS
161-
runs-on: macOS-14
162-
163-
steps:
164-
- name: Check default JAVAs
165-
run: echo $JAVA_HOME --- $JAVA_HOME_8_X64 --- $JAVA_HOME_11_X64 --- $JAVA_HOME_17_X64 --- $JAVA_HOME_21_X64 ---
166-
167-
- name: Setup the java environment
168-
uses: actions/setup-java@v5
169-
with:
170-
distribution: 'temurin'
171-
java-version: '25'
172-
173-
- name: Setup the XCode version to 15.1.0
174-
uses: maxim-lobanov/setup-xcode@ed7a3b1fda3918c0306d1b724322adc0b8cc0a90 # v1.7.0
175-
with:
176-
xcode-version: '15.1.0'
177-
178-
- name: Clone the repo
179-
uses: actions/checkout@v6
180-
with:
181-
fetch-depth: 1
182-
183-
- name: Validate the Gradle wrapper
184-
uses: gradle/actions/wrapper-validation@v6.1.0
185-
186-
- name: Build
187-
run: |
188-
./gradlew -PuseCommitHashAsVersionName=true --no-daemon -PbuildNativeProjects=true \
189-
:jme3-ios-native:build
190-
191-
- name: Upload natives
192-
uses: actions/upload-artifact@v7.0.0
193-
with:
194-
name: ios-natives
195-
path: jme3-ios-native/template/META-INF/robovm/ios/libs/jme3-ios-native.xcframework
196-
197158
# Build the natives on android
198159
BuildAndroidNatives:
199160
name: Build natives for android
@@ -239,7 +200,7 @@ jobs:
239200

240201
# Build the engine, we only deploy from ubuntu-latest jdk25
241202
BuildJMonkey:
242-
needs: [BuildAndroidNatives, BuildIosNatives]
203+
needs: [BuildAndroidNatives]
243204
name: Build on ${{ matrix.osName }} jdk${{ matrix.jdk }}
244205
runs-on: ${{ matrix.os }}
245206
strategy:
@@ -276,12 +237,6 @@ jobs:
276237
name: android-natives
277238
path: build/native
278239

279-
- name: Download natives for iOS
280-
uses: actions/download-artifact@v8.0.1
281-
with:
282-
name: ios-natives
283-
path: jme3-ios-native/template/META-INF/robovm/ios/libs/jme3-ios-native.xcframework
284-
285240
- name: Validate the Gradle wrapper
286241
uses: gradle/actions/wrapper-validation@v6.1.0
287242
- name: Build Engine
@@ -477,12 +432,6 @@ jobs:
477432
name: android-natives
478433
path: build/native
479434

480-
- name: Download natives for iOS
481-
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
482-
with:
483-
name: ios-natives
484-
path: jme3-ios-native/template/META-INF/robovm/ios/libs/jme3-ios-native.xcframework
485-
486435
- name: Rebuild the maven artifacts and upload them to Sonatype's maven-snapshots repo
487436
run: |
488437
if [ "${{ secrets.CENTRAL_PASSWORD }}" = "" ];
@@ -539,12 +488,6 @@ jobs:
539488
name: android-natives
540489
path: build/native
541490

542-
- name: Download natives for iOS
543-
uses: actions/download-artifact@v8.0.1
544-
with:
545-
name: ios-natives
546-
path: jme3-ios-native/template/META-INF/robovm/ios/libs/jme3-ios-native.xcframework
547-
548491
- name: Rebuild the maven artifacts and upload them to Sonatype's Central Publisher Portal
549492
run: |
550493
if [ "${{ secrets.CENTRAL_PASSWORD }}" = "" ];

0 commit comments

Comments
 (0)