From 1155947956afd3b190e8658c7a507639b8b9fd35 Mon Sep 17 00:00:00 2001 From: Roman Tsisyk Date: Tue, 5 Jan 2021 02:05:00 -0800 Subject: [PATCH] [ios][ci] Add basic CI for iOS Signed-off-by: Roman Tsisyk --- .github/workflows/android-check.yaml | 4 ++-- .github/workflows/ios-check.yaml | 34 ++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/ios-check.yaml diff --git a/.github/workflows/android-check.yaml b/.github/workflows/android-check.yaml index f15a6b7205..227f6fc0c9 100644 --- a/.github/workflows/android-check.yaml +++ b/.github/workflows/android-check.yaml @@ -1,8 +1,8 @@ name: Check on: push: - branches: - - '!master' + branches-ignore: + - 'master' jobs: android-check: diff --git a/.github/workflows/ios-check.yaml b/.github/workflows/ios-check.yaml new file mode 100644 index 0000000000..47f8a1567c --- /dev/null +++ b/.github/workflows/ios-check.yaml @@ -0,0 +1,34 @@ +name: Check +on: + push: +# branches-ignore: +# - 'master' + +jobs: + ios-check: + name: iOS Check + runs-on: [self-hosted, macOS, X64] + steps: + - name: Checkout sources + uses: actions/checkout@v2 + with: + submodules: true + clean: false # speed up builds + + - name: Configure + shell: bash + run: | + ./configure.sh + + - name: Compile + shell: bash + # Just check compilation + run: | + xcodebuild \ + -workspace xcode/omim.xcworkspace \ + -scheme MAPS.ME \ + -configuration Debug build \ + 'generic/platform=iOS' \ + CODE_SIGNING_REQUIRED=NO \ + CODE_SIGNING_ALLOWED=NO \ + |xcpretty