-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2871 from planetarium/fast-track/30
Fast track/30
- Loading branch information
Showing
365 changed files
with
12,143 additions
and
243 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
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,2 +1,6 @@ | ||
nekoyume/Assets/Plugins/**/*.so filter=lfs diff=lfs merge=lfs -text | ||
tools/**/*.exe filter=lfs diff=lfs merge=lfs -text | ||
nekoyume/Assets/Firebase/Plugins/x86_64/FirebaseCppAnalytics.so filter=lfs diff=lfs merge=lfs -text | ||
nekoyume/Assets/Firebase/Plugins/x86_64/FirebaseCppApp-11_3_0.so filter=lfs diff=lfs merge=lfs -text | ||
nekoyume/Assets/Firebase/Plugins/x86_64/FirebaseCppAnalytics.bundle filter=lfs diff=lfs merge=lfs -text | ||
nekoyume/Assets/Firebase/Plugins/x86_64/FirebaseCppApp-11_3_0.bundle filter=lfs diff=lfs merge=lfs -text |
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 |
---|---|---|
@@ -0,0 +1,93 @@ | ||
name: Build via Workflow Dispatch | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
targetPlatform: | ||
description: "Target Platform" | ||
required: true | ||
type: choice | ||
default: "Android" | ||
options: | ||
- "Android(AAB)" | ||
- "Android(APK)" | ||
- "StandaloneWindows" | ||
- "StandaloneLinux64" | ||
- "StandaloneOSX" | ||
clo: | ||
description: "Assets/StreamingAssets/clo.json" | ||
required: false | ||
type: string | ||
default: "" | ||
|
||
jobs: | ||
build: | ||
name: Build for ${{ github.event.inputs.targetPlatform }} | ||
env: | ||
TARGET_PLATFORM: ${{ | ||
startsWith(github.event.inputs.targetPlatform, 'Android') | ||
&& 'Android' | ||
|| github.event.inputs.targetPlatform | ||
}} | ||
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} | ||
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }} | ||
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }} | ||
runs-on: | ||
labels: ["linux", "8cores"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
lfs: true | ||
submodules: true | ||
|
||
- uses: actions/cache@v3 | ||
with: | ||
path: nekoyume/Library | ||
key: Library-nekoyume-ubuntu-${{ github.env.TARGET_PLATFORM }} | ||
restore-keys: | | ||
Library-nekoyume-ubuntu- | ||
Library- | ||
- name: Copy clo.json | ||
run: | | ||
if [ -n "${{ github.event.inputs.clo }}" ]; then | ||
echo ${{ github.event.inputs.clo }} > nekoyume/Assets/StreamingAssets/clo.json | ||
fi | ||
- uses: game-ci/unity-builder@v2 | ||
with: | ||
androidAppBundle: ${{ github.event.inputs.targetPlatform == 'Android(AAB)' }} | ||
androidKeystoreName: 9c-aos-signing-keystore.keystore # This file won't exist, but this property needs to exist. | ||
androidKeystoreBase64: ${{ secrets.ANDROID_KEYSTORE_BASE64 }} | ||
androidKeystorePass: ${{ secrets.ANDROID_KEYSTORE_PASS }} | ||
androidKeyaliasName: ${{ secrets.ANDROID_KEY_ALIAS_NAME }} | ||
androidKeyaliasPass: ${{ secrets.ANDROID_KEY_ALIAS_PASS }} | ||
buildMethod: "Editor.Builder.Build${{ github.env.TARGET_PLATFORM }}" | ||
buildName: ${{ github.env.TARGET_PLATFORM }} | ||
projectPath: nekoyume | ||
targetPlatform: ${{ github.env.TARGET_PLATFORM }} | ||
|
||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.11.0 | ||
|
||
- name: Pack | ||
run: | | ||
if [ github.env.TARGET_PLATFORM == "Android" ]; then | ||
tr -d "\r" < .github/bin/pack.sh > .github/bin/pack_trimed.sh | ||
rm .github/bin/pack.sh | ||
mv .github/bin/pack_trimed.sh .github/bin/pack.sh | ||
fi | ||
sudo mv $GITHUB_WORKSPACE/build /tmp/player | ||
pip3 install wheel | ||
sudo bash .github/bin/pack.sh \ | ||
/tmp/packages \ | ||
"${{ github.env.TARGET_PLATFORM }}" \ | ||
"/tmp/player" | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: Build-${{ github.env.TARGET_PLATFORM }} | ||
path: /tmp/packages | ||
retention-days: 7 | ||
if-no-files-found: error |
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 |
---|---|---|
|
@@ -112,3 +112,4 @@ nekoyume/Assets/StreamingAssets/9c_dev* | |
|
||
# Keystores | ||
*.keystore | ||
*.keystore.meta |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
68 changes: 68 additions & 0 deletions
68
nekoyume/Assets/Editor Default Resources/Firebase/fb_analytics.png.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+136 Bytes
nekoyume/Assets/Editor Default Resources/Firebase/fb_analytics_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.