This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 141
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
320 changed files
with
23,007 additions
and
5,542 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e -u -o pipefail | ||
if [[ -n "${DEBUG-}" ]]; then | ||
set -x | ||
fi | ||
|
||
if [[ ${BUILDKITE_AGENT_META_DATA_OS} == darwin* ]]; then | ||
./ci/cleanup.sh | ||
elif [[ ${BUILDKITE_AGENT_META_DATA_OS} == linux* ]]; then | ||
echo "Running a linux agent, no need for any cleanup." | ||
exit 0 | ||
else | ||
powershell -noprofile -noninteractive -file "./ci/cleanup.ps1" | ||
fi |
This file was deleted.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,4 +1,4 @@ | ||
Increment the below number whenever it is required to run Setup.bat as part of a new commit. | ||
Our git hooks will detect this file has been updated and automatically run Setup.bat on pull. | ||
|
||
40 | ||
53 |
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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
rem **** Warning - Experimental functionality **** | ||
rem We do not support this functionality currently: Do not use it unless you are Improbable staff. | ||
rem **** | ||
|
||
@echo off | ||
|
||
set NO_PAUSE=1 | ||
set NO_SET_LOCAL=1 | ||
|
||
pushd "%~dp0" | ||
|
||
call Setup.bat %* | ||
|
||
call :MarkStartOfBlock "%~0" | ||
|
||
call :MarkStartOfBlock "Create folders" | ||
md "%CORE_SDK_DIR%\trace_lib" >nul 2>nul | ||
call :MarkEndOfBlock "Create folders" | ||
|
||
call :MarkStartOfBlock "Retrieve dependencies" | ||
spatial package retrieve internal trace-dynamic-x86_64-vc140_md-win32 14.3.0-b2647-85717ee-WORKER-SNAPSHOT "%CORE_SDK_DIR%\trace_lib\trace-win32.zip" | ||
spatial package retrieve internal trace-dynamic-x86_64-gcc510-linux 14.3.0-b2647-85717ee-WORKER-SNAPSHOT "%CORE_SDK_DIR%\trace_lib\trace-linux.zip" | ||
call :MarkEndOfBlock "Retrieve dependencies" | ||
|
||
call :MarkStartOfBlock "Unpack dependencies" | ||
powershell -Command "Expand-Archive -Path \"%CORE_SDK_DIR%\trace_lib\trace-win32.zip\" -DestinationPath \"%BINARIES_DIR%\Win64\" -Force;"^ | ||
"Expand-Archive -Path \"%CORE_SDK_DIR%\trace_lib\trace-linux.zip\" -DestinationPath \"%BINARIES_DIR%\Linux\" -Force;" | ||
xcopy /s /i /q "%BINARIES_DIR%\Win64\improbable" "%WORKER_SDK_DIR%\improbable" | ||
call :MarkEndOfBlock "Unpack dependencies" | ||
|
||
call :MarkEndOfBlock "%~0" | ||
|
||
popd | ||
|
||
exit /b %ERRORLEVEL% | ||
|
||
:MarkStartOfBlock | ||
echo Starting: %~1 | ||
exit /b 0 | ||
|
||
:MarkEndOfBlock | ||
echo Finished: %~1 | ||
exit /b 0 |
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.