From 066a0401f8542f3c58bd509fbeccac845b4cba91 Mon Sep 17 00:00:00 2001 From: Bruno Tavares Date: Mon, 29 Jun 2020 22:33:43 -0300 Subject: [PATCH] Add checks for ios as well --- .github/workflows/cross_compile.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/cross_compile.yml b/.github/workflows/cross_compile.yml index c91668f..d686f6e 100644 --- a/.github/workflows/cross_compile.yml +++ b/.github/workflows/cross_compile.yml @@ -29,3 +29,24 @@ jobs: use-cross: true command: build args: --target=${{ matrix.target }} --examples + + ios: + name: iOS Build + runs-on: macos-latest + strategy: + matrix: + target: + - aarch64-apple-ios + - x86_64-apple-ios + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + target: ${{ matrix.target }} + override: true + - uses: actions-rs/cargo@v1 + with: + use-cross: true + command: build + args: --target=${{ matrix.target }} --examples