Skip to content

Commit

Permalink
Try to fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
DimaRU committed Feb 23, 2024
1 parent c1e102d commit 41f52c9
Showing 1 changed file with 21 additions and 26 deletions.
47 changes: 21 additions & 26 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,24 @@ on:
- master

jobs:
build:
name: build
runs-on: macOS-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true

- name: Check XCode Version
run: |
xcversion select 12.2
xcodebuild -version
- name: iOS Simulator
run: |
set -o pipefail && xcodebuild clean build -project TridentCockpit.xcodeproj -scheme TridentCockpitiOS -destination "platform=iOS Simulator,name=iPhone 8,OS=14.2" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | xcpretty
- name: Mac Catalyst
run: |
set -o pipefail && xcodebuild clean build -project TridentCockpit.xcodeproj -scheme TridentCockpitiOS -destination "platform=macOS,variant=Mac Catalyst" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | xcpretty
- name: macOS Native
run: |
set -o pipefail && xcodebuild clean build -project TridentCockpit.xcodeproj -scheme TridentCockpitOSX -destination "platform=macOS" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO | xcpretty
build_check:
runs-on: macOS-13
strategy:
max-parallel: 2
fail-fast: false
matrix:
destination:
- "generic/platform=iOS Simulator"
- "generic/platform=macOS,variant=Mac Catalyst"
- "generic/platform=iOS"
steps:
- name: Select Xcode
run: |
xcodes select 15.2
- name: Check XCode Version
run: xcodebuild -version
- name: Checkout
uses: actions/checkout@v4
- name: Build
run: |
set -o pipefail && xcodebuild build -project TridentCockpit.xcodeproj -scheme TridentCockpitiOS -destination "${{ matrix.destination }}" | xcpretty

0 comments on commit 41f52c9

Please sign in to comment.