From 6eb5c88720f4053ab5358f4ce2aaddf2a9af9975 Mon Sep 17 00:00:00 2001 From: vovasty Date: Thu, 21 May 2020 13:52:54 -0700 Subject: [PATCH] use iOS 13.4.1 and default Xcode 11.4.1 for CI (#1831) --- .github/workflows/ci-master-only.yml | 4 ++-- .github/workflows/ci-pull-requests-only.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- .github/workflows/danger.yml | 4 ++-- build.sh | 14 +++++++++++--- 5 files changed, 19 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci-master-only.yml b/.github/workflows/ci-master-only.yml index 0ed0b5e5e..9f6a4a8bd 100644 --- a/.github/workflows/ci-master-only.yml +++ b/.github/workflows/ci-master-only.yml @@ -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 diff --git a/.github/workflows/ci-pull-requests-only.yml b/.github/workflows/ci-pull-requests-only.yml index 0aee87211..6dbf42b00 100644 --- a/.github/workflows/ci-pull-requests-only.yml +++ b/.github/workflows/ci-pull-requests-only.yml @@ -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] @@ -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 }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4b26d585..72b78d44b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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] @@ -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 }} diff --git a/.github/workflows/danger.yml b/.github/workflows/danger.yml index 1c32cf05a..50e7a4816 100644 --- a/.github/workflows/danger.yml +++ b/.github/workflows/danger.yml @@ -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] diff --git a/build.sh b/build.sh index 9701dfb9c..c24719789 100755 --- a/build.sh +++ b/build.sh @@ -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.