From 2c08d6b45311d20aa38346379123d1d6b2ff4a2a Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Tue, 14 Nov 2023 23:59:35 +0700 Subject: [PATCH] ci: Build for iOS. --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc640dd..3635ba5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,3 +51,20 @@ jobs: - name: cargo test run: cargo test --workspace + + build-ios: + runs-on: macos-13 + name: cargo build - ios + env: + RUSTFLAGS: -D warnings + steps: + - uses: actions/checkout@v4 + + - name: install stable toolchain + uses: dtolnay/rust-toolchain@master + with: + toolchain: stable + target: aarch64-apple-ios + + - name: cargo build + run: cargo build --target aarch64-apple-ios --all-targets --workspace