Update GitHub Actions to use specific Xcode and iOS versions
This commit is contained in:
parent
79d1de30a1
commit
08d6dfb6fd
1 changed files with 6 additions and 4 deletions
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
|
|
@ -9,20 +9,22 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
name: Build and Test
|
||||
runs-on: macos-latest
|
||||
runs-on: macos-13 # Используем macOS 13 (Ventura)
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Select Xcode
|
||||
run: sudo xcode-select -switch /Applications/Xcode.app
|
||||
- name: Set up Xcode
|
||||
uses: maxim-lobanov/setup-xcode@v1
|
||||
with:
|
||||
xcode-version: '15.0' # Укажите вашу версию Xcode
|
||||
|
||||
- name: Build and Test
|
||||
run: |
|
||||
xcodebuild clean test \
|
||||
-project Coinly.xcodeproj \
|
||||
-scheme Coinly \
|
||||
-destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' \
|
||||
-destination 'platform=iOS Simulator,name=iPhone 15,OS=17.0' \
|
||||
CODE_SIGN_IDENTITY="" \
|
||||
CODE_SIGNING_REQUIRED=NO \
|
||||
CODE_SIGNING_ALLOWED=NO
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue