Support iOS

This commit is contained in:
momo5502
2025-03-26 15:23:31 +01:00
parent 6fb7450e0f
commit 448e11b737
2 changed files with 12 additions and 1 deletions

View File

@@ -180,6 +180,7 @@ jobs:
clang-version: 20
- platform: iOS arm64
runner: macos-latest
rust-target: aarch64-apple-ios
cmake-options: "-DCMAKE_TOOLCHAIN_FILE=$GITHUB_WORKSPACE/cmake/toolchain/ios.cmake"
- platform: macOS arm64
runner: macos-latest
@@ -202,6 +203,10 @@ jobs:
- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@v6
- name: Install Rust Target
if: "${{ matrix.rust-target }}"
run: rustup target add ${{ matrix.rust-target }}
- name: Install Clang
if: "${{ matrix.platform == 'Linux x86_64 Clang' }}"
run: |