Update CI to use Xcode 14.3.1
This commit is contained in:
parent
106ca48f99
commit
067ce0451b
1 changed files with 11 additions and 14 deletions
25
.github/workflows/tests.yml
vendored
25
.github/workflows/tests.yml
vendored
|
|
@ -9,29 +9,26 @@ on:
|
|||
jobs:
|
||||
test:
|
||||
name: Build and Test
|
||||
runs-on: macos-latest
|
||||
|
||||
runs-on: macos-13
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Show Xcode version
|
||||
run: xcodebuild -version
|
||||
|
||||
- name: Select Xcode 14.3.1
|
||||
run: |
|
||||
sudo xcode-select -s /Applications/Xcode_14.3.1.app
|
||||
xcodebuild -version
|
||||
|
||||
- name: Show build settings
|
||||
run: xcodebuild -list -project Coinly.xcodeproj
|
||||
|
||||
- name: Build and test
|
||||
run: |
|
||||
set -o pipefail && xcodebuild \
|
||||
xcodebuild clean build test \
|
||||
-project Coinly.xcodeproj \
|
||||
-scheme "Coinly" \
|
||||
-destination 'platform=iOS Simulator,name=iPhone 14,OS=16.4' \
|
||||
clean test | xcpretty
|
||||
|
||||
- name: Upload test results
|
||||
uses: actions/upload-artifact@v4
|
||||
if: failure()
|
||||
with:
|
||||
name: test-logs
|
||||
path: ~/Library/Developer/Xcode/DerivedData/**/Logs/Test/**/*.xcresult
|
||||
CODE_SIGN_IDENTITY="" \
|
||||
CODE_SIGNING_REQUIRED=NO \
|
||||
CODE_SIGNING_ALLOWED=NO
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue