forked from coronalabs/corona
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
1,729 additions
and
320 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -336,6 +336,38 @@ jobs: | |
name: CoronaCards-iOS | ||
path: ./output | ||
|
||
<<<<<<< HEAD | ||
======= | ||
|
||
CoronaCards-iOS-angle: | ||
needs: source-code | ||
runs-on: macos-13 | ||
steps: | ||
- run: CDR="$(basename "$(pwd)")" ; cd .. ; rm -rf "$CDR" ; mkdir -p "$CDR" ; cd "$CDR" | ||
- 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: Corona Cards framework for iOS | ||
working-directory: ./platform/iphone | ||
run: | | ||
xcodebuild -scheme CoronaCards-angle.framework -project ratatouille.xcodeproj -configuration Release -sdk iphoneos build -derivedDataPath "$(pwd)/build" | ||
cd build/Build/Products/Release-iphoneos | ||
rm -rf CoronaCards.framework | ||
cp -R CoronaCards-angle.framework/CoronaCards-angle CoronaCards-angle.framework/CoronaCards | ||
ln -s CoronaCards-angle.framework CoronaCards.framework | ||
mkdir "${WORKSPACE}/output" | ||
zip -r -y -o "${WORKSPACE}/output"/CoronaCards-angle.zip CoronaCards-angle.framework CoronaCards.framework | ||
- name: Upload CoronaCards framework archive | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: CoronaCards-iOS-angle | ||
path: ./output | ||
|
||
>>>>>>> experimental | ||
macOS-Simulator: | ||
needs: | ||
- source-code | ||
|
@@ -398,12 +430,25 @@ jobs: | |
run: ./tools/GHAction/build_dmg.sh | ||
env: | ||
CERT_PASSWORD: ${{ secrets.CertPassword }} | ||
- name: Notarize | ||
run: | | ||
[ -n "$APPLE_ISSUER" ] || exit 0 | ||
APPLE_KEY_FILE="$(mktemp)" | ||
echo "$APPLE_KEY" > "$APPLE_KEY_FILE" | ||
xcrun notarytool submit --key "$APPLE_KEY_FILE" --issuer "$APPLE_ISSUER" --key-id "$APPLE_KEY_ID" --wait ./output/*.dmg | ||
xcrun stapler staple ./output/*.dmg | ||
shell: bash | ||
env: # get this at https://appstoreconnect.apple.com/access/api | ||
APPLE_KEY: ${{ secrets.AppleKey }} ## full contents of the file | ||
APPLE_KEY_ID: ${{ secrets.AppleKeyId }} | ||
APPLE_ISSUER: ${{ secrets.AppleIssuer }} | ||
- name: Upload macOS Daily build artifact | ||
uses: actions/upload-artifact@v1 | ||
with: | ||
name: Simulator-macOS | ||
path: ./output | ||
|
||
<<<<<<< HEAD | ||
notarize: | ||
needs: | ||
- macOS-Simulator | ||
|
@@ -433,28 +478,31 @@ jobs: | |
shell: bash | ||
env: | ||
APPLE_AUTH: ${{ secrets.AppleAuth }} # --username [email protected] --password secret-app-specific-pwd --asc-provider anscainc | ||
======= | ||
>>>>>>> experimental | ||
|
||
check-notarization: | ||
runs-on: macos-12 | ||
steps: | ||
- name: Check notarization credentials | ||
run: | | ||
if [ -z "$APPLE_AUTH" ] | ||
then | ||
echo 'Skipping because no authorization provided' | ||
exit 0 | ||
fi | ||
[ -n "$APPLE_ISSUER" ] || exit 0 | ||
T="R7NmWb1brmEx65" | ||
echo "::add-mask::$T" | ||
Z="cNgt1OO-" | ||
echo "::add-mask::$Z" | ||
if ! eval xcrun altool $APPLE_AUTH --list-apps &> /dev/null | ||
APPLE_KEY_FILE="$(mktemp)" | ||
echo "$APPLE_KEY" > "$APPLE_KEY_FILE" | ||
if ! xcrun notarytool history --key "$APPLE_KEY_FILE" --issuer "$APPLE_ISSUER" --key-id "$APPLE_KEY_ID" &> /dev/null | ||
then | ||
curl -X POST -H "Content-Type: application/json" -d '{"value1":"'$GITHUB_REPOSITORY'"}' https://maker.ifttt.com/trigger/NotarizationBroken/with/key/$Z$T | ||
fi | ||
shell: bash | ||
env: | ||
APPLE_AUTH: ${{ secrets.AppleAuth }} # --username [email protected] --password secret-app-specific-pwd --asc-provider anscainc | ||
env: # get this at https://appstoreconnect.apple.com/access/api | ||
APPLE_KEY: ${{ secrets.AppleKey }} | ||
APPLE_KEY_ID: ${{ secrets.AppleKeyId }} | ||
APPLE_ISSUER: ${{ secrets.AppleIssuer }} | ||
|
||
|
||
Windows-Simulator: | ||
needs: | ||
|
@@ -587,6 +635,7 @@ jobs: | |
- linux | ||
- CoronaCards-Android | ||
- CoronaCards-iOS | ||
- CoronaCards-iOS-angle | ||
- native | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -622,6 +671,9 @@ jobs: | |
- uses: actions/download-artifact@v1 | ||
with: | ||
name: CoronaCards-iOS | ||
- uses: actions/download-artifact@v1 | ||
with: | ||
name: CoronaCards-iOS-angle | ||
- uses: actions/download-artifact@v1 | ||
with: | ||
name: CoronaCards-Android | ||
|
@@ -680,6 +732,15 @@ jobs: | |
asset_path: ./CoronaCards-iOS/CoronaCards.framework.zip | ||
asset_name: CoronaCards-iOS-${{ env.YEAR }}.${{ env.BUILD }}.zip | ||
asset_content_type: application/zip | ||
- name: Upload Release Asset Corona Cards iOS Angle | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./CoronaCards-iOS-angle/CoronaCards-angle.zip | ||
asset_name: CoronaCards-iOS-MetalANGLE-${{ env.YEAR }}.${{ env.BUILD }}.zip | ||
asset_content_type: application/zip | ||
- name: Upload Release Asset Corona Cards Android | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
|
@@ -748,7 +809,6 @@ jobs: | |
- linux | ||
- CoronaCards-Android | ||
- CoronaCards-iOS | ||
- notarize | ||
- release | ||
- source-code | ||
runs-on: ubuntu-20.04 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#Mon Jul 24 23:10:14 CDT 2023 | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-all.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.