Skip to content

Commit 66c3ba4

Browse files
committed
CI: run CMake tests for iOS
Signed-off-by: Patryk Wrobel <183546751+pwrobeldev@users.noreply.github.com>
1 parent 65a7e79 commit 66c3ba4

1 file changed

Lines changed: 31 additions & 2 deletions

File tree

.github/workflows/functional-tests.yml

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,8 @@ jobs:
402402
cd functional-tests
403403
./scripts/build-dart-functional --buildGluecodium --asan
404404
405-
cmake-tests:
406-
name: CMake toolchain tests
405+
cmake-tests-android:
406+
name: CMake toolchain tests for Android
407407
runs-on: ubuntu-22.04
408408

409409
steps:
@@ -456,3 +456,32 @@ jobs:
456456
./gradlew publishToMavenLocal
457457
cd cmake
458458
GLUECODIUM_BUILD_ENVIRONMENT=android-host cmake -P run-cmake-unit-test.cmake
459+
460+
cmake-tests-ios:
461+
name: CMake toolchain tests for iOS
462+
runs-on: macos-13
463+
464+
steps:
465+
- uses: actions/checkout@v2
466+
- name: Install JDK
467+
uses: actions/setup-java@v1
468+
with:
469+
java-version: 17
470+
- name: Cache Gradle packages
471+
uses: actions/cache@v3
472+
with:
473+
path: |
474+
~/.gradle/caches
475+
!*gluecodium*
476+
!*lime-*
477+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
478+
restore-keys: ${{ runner.os }}-gradle
479+
- name: Install ninja
480+
uses: seanmiddleditch/gha-setup-ninja@master
481+
with:
482+
version: 1.11.0
483+
- name: Build and run functional tests
484+
run: |
485+
./gradlew publishToMavenLocal
486+
cd cmake
487+
GLUECODIUM_BUILD_ENVIRONMENT=ios-x86_64 cmake -P run-cmake-unit-test.cmake

0 commit comments

Comments
 (0)