Skip to content

Commit

Permalink
Merge pull request #20 from Infomaniak/test-ci-build-ios
Browse files Browse the repository at this point in the history
test: Run CI on iOS
  • Loading branch information
valentinperignon authored Jan 30, 2025
2 parents a29c1f6 + a04fcde commit f8d721a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand Down

0 comments on commit f8d721a

Please sign in to comment.