Skip to content

Commit

Permalink
Merge pull request #1279 from WEKIT-ECS/release_2.0
Browse files Browse the repository at this point in the history
Release 2.0 to Master
  • Loading branch information
cawke authored Feb 22, 2023
2 parents 3188d8b + 0aafa03 commit ca8e208
Show file tree
Hide file tree
Showing 1,077 changed files with 169,066 additions and 9,445 deletions.
70 changes: 57 additions & 13 deletions .github/workflows/linux_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,40 @@ jobs:
echo "path of the credentials resource $GITHUB_WORKSPACE/ibm-credentials.txt"
export IBM_CREDENTIALS_FILE="$GITHUB_WORKSPACE/ibm-credentials.env"
# Fonts
- name: Install fonts
run: |
echo -n "Installing core fonts"
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections
echo "ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note" | sudo debconf-set-selections
sudo apt install ttf-mscorefonts-installer
sudo fc-cache -f
fc-match Arial
# Cache
- name: Caching
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
key: Library-linux-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
Library-linux
# Test stage
- name: Unity Test runner (edit and play mode)
uses: game-ci/[email protected].0-alpha-7
uses: game-ci/[email protected].3
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
unityVersion: 2020.3.13f1

unityVersion: 2021.3.8f1
build:
name: Build Unity
runs-on: ubuntu-latest
needs: test
outputs:
buildVersion: ${{ steps.buildStep.outputs.buildVersion }}
steps:
# Activation stage
- name: Checkout repository
Expand All @@ -52,35 +64,67 @@ jobs:
ls -la
echo "path of the credentials resource $GITHUB_WORKSPACE/ibm-credentials.txt"
export IBM_CREDENTIALS_FILE="$GITHUB_WORKSPACE/ibm-credentials.env"
export TARGET_PLATFORM="Android"
# Fonts
- name: Install fonts
run: |
echo -n "Installing core fonts"
echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections
echo "ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note" | sudo debconf-set-selections
sudo apt install ttf-mscorefonts-installer
sudo fc-cache -f
fc-match Arial
# Cache
- name: Caching
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: Library
key: Library-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
key: Library-linux-${{ hashFiles('Assets/**', 'Packages/**', 'ProjectSettings/**') }}
restore-keys: |
Library-
Library-linux
# Build stage
- name: Unity builder
uses: game-ci/unity-builder@v2
uses: game-ci/unity-builder@v2.1.1
id: buildStep
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
with:
targetPlatform: Android
unityVersion: 2020.3.13f1
unityVersion: 2021.3.8f1
versioning: Semantic
# dirty build needed to include generated Watson credentials
allowDirtyBuild: true

- name: Upload build artifacts
uses: actions/upload-artifact@v2
with:
name: Build
name: Android
path: build
retention-days: 90
retention-days: 3
if-no-files-found: error

# Deploy stage
prerelease-notification:
name: Prerelease Slack notification
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/develop' && !github.event.pull_request
env:
SLACK_URL: ${{ secrets.SLACK_URL }}
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
APP_VERSION: ${{ needs.build.outputs.buildVersion }}
TARGET_PLATFORM: ${{ runner.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Post notification
run: |
echo $APP_VERSION
sudo apt-get update && sudo apt-get -y install curl
chmod +x ./ci/notify-preview.sh && ./ci/notify-preview.sh
4 changes: 2 additions & 2 deletions .github/workflows/unity_activation_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- name: Setup Unity
uses: kuler90/[email protected]
with:
unity-version: 2020.3.13f1
unity-version: 2021.3.8f1

# Request manual activation file
- name: Request manual activation file
run: ci\get_windows_activation_file.bat
run: .\ci\get_windows_activation_file.bat
# Upload artifact (Unity_v20XX.X.XXXX.alf)
- name: Expose as artifact
uses: actions/upload-artifact@v2
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/windows_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
echo -n "$env:ASSISTANTKEYS" > $env:GITHUB_WORKSPACE/ibm-credentials.env
echo "path of the credentials resource $env:GITHUB_WORKSPACE/Assets/Resources/ibm-credentials.txt"
$env:IBM_CREDENTIALS_FILE="$env:GITHUB_WORKSPACE/ibm-credentials.env"
$env:TARGET_PLATFORM="Hololens"
# Cache
- name: Caching
Expand All @@ -47,7 +48,7 @@ jobs:

# Build stage
- name: Unity builder
uses: game-ci/unity-builder@v2.0.1
uses: game-ci/unity-builder@v2.1.1
id: buildStep
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
Expand Down Expand Up @@ -151,6 +152,7 @@ jobs:
SLACK_URL: ${{ secrets.SLACK_URL }}
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
APP_VERSION: ${{ needs.build_unity.outputs.buildVersion }}
TARGET_PLATFORM: ${{ runner.os }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Uu]ser[Ss]ettings/
/[Mm]emoryCaptures/
UWP/
QCAR/
Expand All @@ -35,7 +36,6 @@ QCAR/
.vs/
.vscode/

Assets/TextMesh Pro*

# Gradle cache directory
.gradle/
Expand Down
14 changes: 14 additions & 0 deletions Assets/AddressableAssetsData/AddressableAssetSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,32 @@ MonoBehaviour:
m_Name: AddressableAssetSettings
m_EditorClassIdentifier:
m_DefaultGroup: bec1afb347441f242b5ca379ab102994
m_CachedHash:
serializedVersion: 2
Hash: 00000000000000000000000000000000
m_OptimizeCatalogSize: 0
m_BuildRemoteCatalog: 0
m_BundleLocalCatalog: 0
m_CatalogRequestsTimeout: 0
m_DisableCatalogUpdateOnStart: 0
m_IgnoreUnsupportedFilesInBuild: 0
m_UniqueBundleIds: 0
m_NonRecursiveBuilding: 1
m_CCDEnabled: 0
m_maxConcurrentWebRequests: 500
m_ContiguousBundles: 0
m_StripUnityVersionFromBundleBuild: 0
m_DisableVisibleSubAssetRepresentations: 0
m_ShaderBundleNaming: 0
m_ShaderBundleCustomNaming:
m_MonoScriptBundleNaming: 0
m_MonoScriptBundleCustomNaming:
m_RemoteCatalogBuildPath:
m_Id:
m_RemoteCatalogLoadPath:
m_Id:
m_ContentStateBuildPath:
m_BuildAddressablesWithPlayerBuild: 2
m_overridePlayerVersion:
m_GroupAssets:
- {fileID: 11400000, guid: a5b5fc9452f7c4f41a0c000b52bdd45e, type: 2}
Expand Down
Binary file modified Assets/AddressableAssetsData/Android/addressables_content_state.bin
Binary file not shown.
Loading

0 comments on commit ca8e208

Please sign in to comment.