upgrade nodejs; add nimCiSystemInfo on azure/github CI (#18003)
* upgrade nodejs; add nimCiSysmtemInfo on all CI * fix typo
This commit is contained in:
parent
3bc625aff1
commit
3c622d7999
4 changed files with 27 additions and 15 deletions
15
ci/funs.sh
15
ci/funs.sh
|
|
@ -6,7 +6,7 @@
|
|||
echo_run () {
|
||||
# echo's a command before running it, which helps understanding logs
|
||||
echo ""
|
||||
echo "$@"
|
||||
echo "cmd: $@" # in azure we could also use this: echo '##[section]"$@"'
|
||||
"$@"
|
||||
}
|
||||
|
||||
|
|
@ -67,6 +67,19 @@ _nimBuildCsourcesIfNeeded(){
|
|||
echo_run cp bin/nim $nim_csources
|
||||
}
|
||||
|
||||
nimCiSystemInfo(){
|
||||
nimDefineVars
|
||||
echo_run eval echo '$'nim_csources
|
||||
echo_run pwd
|
||||
echo_run date
|
||||
echo_run uname -a
|
||||
echo_run git log --no-merges -1 --pretty=oneline
|
||||
echo_run eval echo '$'PATH
|
||||
echo_run gcc -v
|
||||
echo_run node -v
|
||||
echo_run make -v
|
||||
}
|
||||
|
||||
nimCsourcesHash(){
|
||||
nimDefineVars
|
||||
echo $nim_csourcesHash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue