Skip to content

Commit abe2c3a

Browse files
authored
Add iOS build job to GitHub Actions workflow
Added a new job to build iOS examples in the CI workflow.
1 parent e6c13b8 commit abe2c3a

1 file changed

Lines changed: 24 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ on:
4747
- v3.5
4848
- v3.4
4949
- v3.3
50-
- ios-2024_2
50+
- ios
5151
pull_request:
5252
release:
5353
types: [published]
@@ -174,6 +174,29 @@ jobs:
174174
**/build/changed-images/**
175175
**/build/test-results/**
176176
177+
BuildIOS:
178+
name: Build for iOS
179+
runs-on: macos-latest
180+
steps:
181+
- name: Clone the repo
182+
uses: actions/checkout@v6
183+
with:
184+
fetch-depth: 1
185+
186+
- name: Setup the java environment
187+
uses: actions/setup-java@v5
188+
with:
189+
distribution: 'temurin'
190+
java-version: ${{ matrix.jdk }}
191+
192+
- name: Validate the Gradle wrapper
193+
uses: gradle/actions/wrapper-validation@v6.1.0
194+
195+
- name: Build iOS examples
196+
shell: bash
197+
run: |
198+
./gradlew buildIosSimulatorApp
199+
177200
# Build the engine, we only deploy from ubuntu-latest jdk25
178201
BuildJMonkey:
179202
name: Build on ${{ matrix.osName }} jdk${{ matrix.jdk }}

0 commit comments

Comments
 (0)