From a04fcde559a5cbbd16bc4ff6a80e9266409d55a8 Mon Sep 17 00:00:00 2001 From: Valentin Perignon Date: Thu, 30 Jan 2025 09:26:50 +0100 Subject: [PATCH] test: Run CI on iOS --- .github/workflows/ci.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d6cc078..3063b1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,22 @@ on: branches: [ main ] jobs: + build_and_test_iOS: + name: Build and Test project on iOS + runs-on: [ self-hosted, iOS ] + + steps: + - name: Cancel Previous Runs + uses: styfle/cancel-workflow-action@0.9.1 + with: + access_token: ${{ github.token }} + - name: Checkout + uses: actions/checkout@v2 + - name: Build + run: xcodebuild -scheme InfomaniakRichHTMLEditor build -destination "platform=iOS Simulator,name=iPhone 16,OS=latest" + - name: Test + run: xcodebuild -scheme InfomaniakRichHTMLEditor test -destination "platform=iOS Simulator,name=iPhone 16,OS=latest" + build_and_test_macOS: name: Build and Test project on macOS runs-on: [ self-hosted, macOS ]