diff options
| author | Mikkel Hjortshoej <fyoucon@gmail.com> | 2020-04-11 19:55:20 +0200 |
|---|---|---|
| committer | Mikkel Hjortshoej <fyoucon@gmail.com> | 2020-04-11 19:55:20 +0200 |
| commit | a615402d7c079c188a7e3fa3f4f59428aa52511c (patch) | |
| tree | 04933d3b7b03897e8b9e47594de19e68b5887d22 /ci | |
| parent | c9bec10a8ee3c11b38a41822c3c573786c0f5e5c (diff) | |
Start on json script
Diffstat (limited to 'ci')
| -rw-r--r-- | ci/build_ci.bat | 24 | ||||
| -rw-r--r-- | ci/create_nightly_json.sh | 5 |
2 files changed, 29 insertions, 0 deletions
diff --git a/ci/build_ci.bat b/ci/build_ci.bat new file mode 100644 index 000000000..53da20680 --- /dev/null +++ b/ci/build_ci.bat @@ -0,0 +1,24 @@ +@echo off + +set exe_name=odin.exe + +set compiler_flags= -nologo -Oi -TP -fp:precise -Gm- -MP -FC -GS- -EHsc- -GR- -O2 -MT -Z7 -DNO_ARRAY_BOUNDS_CHECK +set compiler_warnings= ^ + -W4 -WX ^ + -wd4100 -wd4101 -wd4127 -wd4189 ^ + -wd4201 -wd4204 ^ + -wd4456 -wd4457 -wd4480 ^ + -wd4512 + +set compiler_includes= +set libs= ^ + kernel32.lib + +set linker_flags= -incremental:no -opt:ref -subsystem:console -debug + +set compiler_settings=%compiler_includes% %compiler_flags% %compiler_warnings% +set linker_settings=%libs% %linker_flags% + +cl %compiler_settings% "src\main.cpp" ^ + /link %linker_settings% -OUT:%exe_name% ^ + diff --git a/ci/create_nightly_json.sh b/ci/create_nightly_json.sh new file mode 100644 index 000000000..184423195 --- /dev/null +++ b/ci/create_nightly_json.sh @@ -0,0 +1,5 @@ +FILE_IDS=$(b2 ls --long odin-binaries nightly | cut -d ' ' -f 1) + +while IFS= read -r line; do + echo "... $line ..." +done <<< "$list"
\ No newline at end of file |