-
Notifications
You must be signed in to change notification settings - Fork 521
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
3 changed files
with
29 additions
and
22 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 |
---|---|---|
|
@@ -30,6 +30,17 @@ run_ci_test_against_new_ngo_version: | |
name: ⚡ Run CI test against new NGO version ⚡ | ||
dependencies: | ||
- .yamato/ngo_version.yml#update_ngo | ||
- .yamato/project-standards.yml#standards_{{ projects.first.name }} | ||
{% for project in projects -%} | ||
{% for platform in test_platforms -%} | ||
# desktop platforms | ||
- .yamato/project-tests.yml#test_{{ project.name }}_{{ project.test_editors.first }}_{{ platform.name }} | ||
{% endfor -%} | ||
# iOS | ||
- .yamato/mobile-build-and-run.yml#mobile_test_ios_{{ project.name }}_{{ project.test_editors.first }} | ||
# Android | ||
- .yamato/mobile-build-and-run.yml#mobile_test_android_{{ project.name }}_{{ project.test_editors.first }} | ||
{% endfor -%} | ||
triggers: | ||
external: | ||
source: [email protected]:Unity-Technologies/com.unity.netcode.gameobjects.git | ||
|
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,8 +1,17 @@ | ||
{% metadata_file .yamato/project.metafile %} | ||
--- | ||
{% for project in projects -%} | ||
update_ngo: | ||
name: ⚡ Update NGO YAMATO_TRIGGER_BRANCH ⚡ | ||
dependencies: | ||
- .yamato/project-pack.yml#pack_{{ project.name }} | ||
{% endfor -%} | ||
name: ⚡ Update NGO $YAMATO_TRIGGER_BRANCH ⚡ | ||
agent: | ||
type: Unity::VM | ||
image: package-ci/ubuntu-22.04:v4 | ||
flavor: b1.small | ||
commands: | ||
- command: |- | ||
sudo apt-get install jq | ||
sudo yum install jq | ||
echo release/1.9.0 >> release.txt | ||
number_variable=$(sed -n 's/^release\/\([0-9.]*\)$/\1/p' release.txt) | ||
echo $number_variable >> test1.txt | ||
cat test1.txt | ||
pwd | ||
sed -i 's/"com\.unity\.netcode\.gameobjects": "[^"]*"/"com.unity.netcode.gameobjects": "'"$number_variable"'"/' Packages/manifest.json | ||
cat Packages/manifest.json |
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