Skip to content

Commit

Permalink
use iOS 13.4.1 and default Xcode 11.4.1 for CI (#1831)
Browse files Browse the repository at this point in the history
  • Loading branch information
vovasty authored May 21, 2020
1 parent aa91df7 commit 6eb5c88
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-master-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ on:
jobs:
cocoapods-lint:
env:
DEVELOPER_DIR: /Applications/Xcode_11.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_11.4.1.app/Contents/Developer
name: Verify that podspec lints
runs-on: macOS-latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Run build.sh with cocoapods-lint mode
run: ./build.sh cocoapods-lint
4 changes: 2 additions & 2 deletions .github/workflows/ci-pull-requests-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
buildsh:
env:
DEVELOPER_DIR: /Applications/Xcode_11.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_11.4.1.app/Contents/Developer
strategy:
matrix:
mode: [cocoapods-lint-default-subspecs, cocoapods-lint-other-subspecs]
Expand All @@ -21,6 +21,6 @@ jobs:
runs-on: macOS-latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Run build script
run: ./build.sh ${{ matrix.mode }}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
buildsh:
env:
DEVELOPER_DIR: /Applications/Xcode_11.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_11.4.1.app/Contents/Developer
strategy:
matrix:
mode: [tests, framework, life-without-cocoapods, carthage, examples-pt1, examples-pt2, examples-pt3, examples-pt4]
Expand All @@ -30,6 +30,6 @@ jobs:
runs-on: macOS-latest
steps:
- name: Checkout the Git repository
uses: actions/checkout@v1
uses: actions/checkout@v2
- name: Run build script
run: ./build.sh ${{ matrix.mode }}
4 changes: 2 additions & 2 deletions .github/workflows/danger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on: [pull_request]

jobs:
buildsh:
env:
DEVELOPER_DIR: /Applications/Xcode_11.app/Contents/Developer
env:
DEVELOPER_DIR: /Applications/Xcode_11.4.1.app/Contents/Developer
strategy:
matrix:
mode: [danger]
Expand Down
14 changes: 11 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash

PLATFORM="${TEXTURE_BUILD_PLATFORM:-platform=iOS Simulator,OS=13.0,name=iPhone 8}"
SDK="${TEXTURE_BUILD_SDK:-iphonesimulator13.0}"
# echo ************* diagnostics
# echo available devices
# instruments -s devices
# echo available sdk
# xcodebuild -showsdks
# echo available Xcode
# ls -ld /Applications/Xcode*
# echo ************* diagnostics end

PLATFORM="${TEXTURE_BUILD_PLATFORM:-platform=iOS Simulator,OS=13.4.1,name=iPhone 8}"
SDK="${TEXTURE_BUILD_SDK:-iphonesimulator13.4}"
DERIVED_DATA_PATH="~/ASDKDerivedData"

# It is pitch black.
Expand Down

0 comments on commit 6eb5c88

Please sign in to comment.