Skip to content

Commit

Permalink
iOS: adding legacy iOS template by popular request
Browse files Browse the repository at this point in the history
  • Loading branch information
Shchvova committed Nov 4, 2020
1 parent b812672 commit f67cc26
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 2 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Expand Up @@ -40,6 +40,39 @@ jobs:
name: SourceCode
path: ./output

Xcode-template-matrix-old:
strategy:
matrix:
xcode:
- Xcode_11.3.1
target:
- template
platform:
- iphone
needs: source-code
runs-on: macos-latest
env:
DEVELOPER_DIR: /Applications/${{ matrix.xcode }}.app/Contents/Developer
TEMPLATE_TARGET: ${{ matrix.target }}
steps:
- name: Get processed code
uses: actions/download-artifact@v1
with:
name: SourceCode
- name: Unpack source code
run: tar -xzf SourceCode/corona.tgz
- run: ./tools/GHAction/daily_env.sh
- name: Build templates
working-directory: ./platform/${{ matrix.platform }}
run: ./gh_build_templates.sh
env:
CERT_PASSWORD: ${{ secrets.CertPassword }}
- name: Upload templates
uses: actions/upload-artifact@v1
with:
name: Templates-${{ matrix.platform }}-${{ matrix.xcode }}-${{ matrix.target }}
path: ./output

Xcode-template-matrix:
strategy:
matrix:
Expand Down Expand Up @@ -78,6 +111,7 @@ jobs:
collect-ios-templates:
needs:
- Xcode-template-matrix
- Xcode-template-matrix-old
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v2
Expand Down
9 changes: 8 additions & 1 deletion platform/resources/iOS-SDKs.json
Expand Up @@ -5,7 +5,7 @@
"xcodeVersion": "14.1",
"failMessage": "install or xcode-select Xcode 12.1 to enable",
"coronaVersion": 141000,
"beta": true,
"beta": false,
"customTemplate": "-angle"
},
{
Expand All @@ -14,6 +14,13 @@
"failMessage": "install or xcode-select Xcode 12.1 to enable",
"coronaVersion": 141000,
"beta": false
},
{
"label": "13.3 (Legacy)",
"xcodeVersion": "13.3",
"failMessage": "install or xcode-select Xcode 11.3.1 to enable",
"coronaVersion": 130000,
"beta": false
}
]
}
2 changes: 1 addition & 1 deletion platform/resources/tvOS-SDKs.json
Expand Up @@ -5,7 +5,7 @@
"xcodeVersion": "14.0",
"failMessage": "install or xcode-select Xcode 12.1 to enable",
"coronaVersion": 140000,
"beta": true,
"beta": false,
"customTemplate": "-angle"
},
{
Expand Down

0 comments on commit f67cc26

Please sign in to comment.