forked from mono/mono
-
Notifications
You must be signed in to change notification settings - Fork 521
Add Yamato configs #1172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add Yamato configs #1172
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,7 @@ | ||
git submodule update --init --recursive | ||
cd external/buildscripts | ||
./bee | ||
cd ../.. | ||
perl external/buildscripts/build_runtime_android.pl --stevedorebuilddeps=1 | ||
mkdir -p incomingbuilds/android | ||
cp -r builds/* incomingbuilds/android/ |
This file contains hidden or 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,14 @@ | ||
name: build_android | ||
|
||
agent: | ||
type: Unity::VM::osx | ||
image: buildfarm/mac:stable | ||
flavor: m1.mac | ||
|
||
commands: | ||
- .yamato/build_android.sh | ||
|
||
artifacts: | ||
android.zip: | ||
paths: | ||
- incomingbuilds/android/** |
This file contains hidden or 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,15 @@ | ||
sudo apt-get install -y schroot | ||
sudo apt-get install -y binutils debootstrap | ||
git submodule update --init --recursive | ||
# try again in case previous update failed | ||
git submodule update --init --recursive | ||
cd external/buildscripts | ||
./bee | ||
cd ../.. | ||
perl external/buildscripts/build_runtime_linux.pl -build64=1 --stevedorebuilddeps=1 | ||
echo "Making directory incomingbuilds/linux64" | ||
mkdir -p incomingbuilds/linux64 | ||
ls -al incomingbuilds/linux64 | ||
echo "Copying builds to incomingbuilds" | ||
cp -r builds/* incomingbuilds/linux64/ | ||
ls -al incomingbuilds/linux64 |
This file contains hidden or 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,14 @@ | ||
name: build_linux_x64 | ||
|
||
agent: | ||
type: Unity::VM | ||
image: cds-ops/ubuntu-18.04-agent:v1.0.11-765607 | ||
flavor: b1.large | ||
|
||
commands: | ||
- .yamato/build_linux_x64.sh | ||
|
||
artifacts: | ||
linux64.zip: | ||
paths: | ||
- incomingbuilds/linux64/** |
This file contains hidden or 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,19 @@ | ||
sudo apt-get install -y schroot | ||
sudo apt-get install -y binutils debootstrap | ||
sudo apt-get install -y m4 | ||
sudo apt-get install -y libc6-i386 | ||
sudo apt-get install -y libc6-dev-i386 | ||
sudo apt-get install -y libncurses5-i386 | ||
git submodule update --init --recursive | ||
# try again in case previous update failed | ||
git submodule update --init --recursive | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same duplication. |
||
cd external/buildscripts | ||
./bee | ||
cd ../.. | ||
perl external/buildscripts/build_runtime_linux.pl -build64=0 --stevedorebuilddeps=1 | ||
echo "Making directory incomingbuilds/linux32" | ||
mkdir -p incomingbuilds/linux32 | ||
ls -al incomingbuilds/linux32 | ||
echo "Copying builds to incomingbuilds" | ||
cp -r -v builds/* incomingbuilds/linux32/ | ||
ls -al incomingbuilds/linux32 |
This file contains hidden or 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,14 @@ | ||
name: build_linux_x86 | ||
|
||
agent: | ||
type: Unity::VM | ||
image: cds-ops/ubuntu-18.04-agent:v1.0.11-765607 | ||
flavor: b1.large | ||
|
||
commands: | ||
- .yamato/build_linux_x86.sh | ||
|
||
artifacts: | ||
linux32.zip: | ||
paths: | ||
- incomingbuilds/linux32/** |
This file contains hidden or 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,11 @@ | ||
git submodule update --init --recursive | ||
cd external/buildscripts | ||
./bee | ||
cd ../.. | ||
perl external/buildscripts/build_classlibs_osx.pl --stevedorebuilddeps=1 | ||
mkdir -p incomingbuilds/classlibs | ||
cp -r ZippedClasslibs.tar.gz incomingbuilds/classlibs/ | ||
cd incomingbuilds/classlibs | ||
tar -pzxf ZippedClasslibs.tar.gz | ||
rm -f ZippedClasslibs.tar.gz | ||
cd ../.. |
This file contains hidden or 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,15 @@ | ||
name: build_osx_classlibs | ||
|
||
agent: | ||
type: Unity::VM::osx | ||
image: buildfarm/mac:latest | ||
flavor: m1.mac | ||
|
||
commands: | ||
- .yamato/build_osx_classlibs.sh | ||
|
||
|
||
artifacts: | ||
classlibs.zip: | ||
paths: | ||
- incomingbuilds/classlibs/** |
This file contains hidden or 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,7 @@ | ||
git submodule update --init --recursive | ||
cd external/buildscripts | ||
./bee | ||
cd ../.. | ||
perl external/buildscripts/build_runtime_osx.pl --stevedorebuilddeps=1 | ||
mkdir -p incomingbuilds/osx-i386 | ||
cp -r builds/* incomingbuilds/osx-i386/ |
This file contains hidden or 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,14 @@ | ||
name: build_osx_runtime | ||
|
||
agent: | ||
type: Unity::VM::osx | ||
image: buildfarm/mac:latest | ||
flavor: m1.mac | ||
|
||
commands: | ||
- .yamato/build_osx_runtime.sh | ||
|
||
artifacts: | ||
osx-i386.zip: | ||
paths: | ||
- incomingbuilds/osx-i386/** |
This file contains hidden or 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,5 @@ | ||
@echo off | ||
git submodule update --init --recursive | ||
perl external/buildscripts/build_runtime_win64.pl --stevedorebuilddeps=1 | ||
mkdir -p incomingbuilds\win64 | ||
xcopy /s /e /h /y builds\* incomingbuilds\win64 |
This file contains hidden or 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,16 @@ | ||
name: build_win | ||
|
||
agent: | ||
type: Unity::VM | ||
image: platform-foundation/windows-mono-bokken:latest | ||
flavor: b1.xlarge | ||
|
||
interpreter: powershell | ||
|
||
commands: | ||
- .yamato/build_win.bat | ||
|
||
artifacts: | ||
win64.zip: | ||
paths: | ||
- incomingbuilds\win64\** |
This file contains hidden or 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,5 @@ | ||
@echo off | ||
git submodule update --init --recursive | ||
perl external/buildscripts/build_unityscript_bareminimum_win.pl | ||
mkdir incomingbuilds\bareminimum | ||
xcopy /s /e /h /y builds\* incomingbuilds\bareminimum |
This file contains hidden or 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,16 @@ | ||
name: build_win_bare_minimum | ||
|
||
agent: | ||
type: Unity::VM | ||
image: platform-foundation/windows-mono-bokken:latest | ||
flavor: b1.xlarge | ||
|
||
interpreter: powershell | ||
|
||
commands: | ||
- .yamato/build_win_bare_minimum.bat | ||
|
||
artifacts: | ||
bareminimum.zip: | ||
paths: | ||
- incomingbuilds\bareminimum\** |
This file contains hidden or 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,5 @@ | ||
@echo off | ||
git submodule update --init --recursive | ||
perl external/buildscripts/build_runtime_win.pl --stevedorebuilddeps=1 | ||
mkdir -p incomingbuilds\win32 | ||
xcopy /s /e /h /y builds\* incomingbuilds\win32 |
This file contains hidden or 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,16 @@ | ||
name: build_win_x86 | ||
|
||
agent: | ||
type: Unity::VM | ||
image: platform-foundation/windows-mono-bokken:latest | ||
flavor: b1.xlarge | ||
|
||
interpreter: powershell | ||
|
||
commands: | ||
- .yamato/build_win_x86.bat | ||
|
||
artifacts: | ||
win32.zip: | ||
paths: | ||
- incomingbuilds\win32\** |
This file contains hidden or 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,5 @@ | ||
sudo apt-get install -qy zip unzip | ||
sudo apt-get install -qy p7zip-full p7zip-rar | ||
perl external/buildscripts/collect_allbuilds.pl | ||
pwd | ||
ls -al |
This file contains hidden or 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,24 @@ | ||
name: collate_builds | ||
|
||
agent: | ||
type: Unity::VM | ||
image: cds-ops/ubuntu-18.04-agent:v1.0.11-765607 | ||
flavor: b1.large | ||
|
||
dependencies: | ||
- .yamato/build_android.yml | ||
- .yamato/build_linux_x64.yml | ||
- .yamato/build_linux_x86.yml | ||
- .yamato/build_osx_classlibs.yml | ||
- .yamato/build_osx_runtime.yml | ||
- .yamato/build_win.yml | ||
- .yamato/build_win_bare_minimum.yml | ||
- .yamato/build_win_x86.yml | ||
|
||
commands: | ||
- .yamato/collate_builds.sh | ||
|
||
artifacts: | ||
builds.zip: | ||
paths: | ||
- collectedbuilds/builds.7z |
This file contains hidden or 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,11 @@ | ||
[LinuxBuildEnvironment-20170609] | ||
description=Unity Linux SDK 20170609 | ||
directory=/home/bokken/build/output/Unity-Technologies/mono/external/buildscripts/artifacts/Stevedore/linux-sdk-20170609/linux-sdk-20170609/LinuxBuildEnvironment-20170609 | ||
personality=linux | ||
users=bokken,builduser | ||
groups=sudo | ||
root-groups=sudo | ||
preserve-environment=true | ||
type=directory | ||
profile=linux-sdk-20170609 | ||
script-config=linux-sdk-20170609/config |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is here twice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Its failing sometimes due to network issues and retry also fails. So manually trying twice. Only on linux.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then minor, but can we use loop and check exit code a few times?