refactor common code in CI pipelines (#18035)

* refactor CI with nimInternalInstallDepsWindows

* refactor CI with nimInternalBuildKochAndRunCI

* fixup
This commit is contained in:
Timothee Cour 2021-05-26 00:43:30 -07:00 • committed by GitHub
commit c495628255
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 34 additions and 53 deletions

View file

@ -29,15 +29,11 @@ tasks:
set -e
cd Nim
. ci/funs.sh && nimBuildCsourcesIfNeeded
$nim_csources c --skipUserCfg --skipParentCfg koch
echo 'export PATH=$HOME/Nim/bin:$PATH' >> $HOME/.buildenv
- test: |
set -e
cd Nim
if ! ./koch runCI; then
nim r tools/ci_testresults.nim
exit 1
fi
. ci/funs.sh && nimInternalBuildKochAndRunCI
triggers:
- action: email
condition: failure