exit on fetch-cross-compile failure, not proceed
This commit is contained in:
+4
-1
@@ -235,7 +235,10 @@ steps:
|
|||||||
cd ../..
|
cd ../..
|
||||||
make fetch-lua
|
make fetch-lua
|
||||||
sh sys/msdos/fetch-cross-compiler.sh
|
sh sys/msdos/fetch-cross-compiler.sh
|
||||||
make LUA_VERSION=5.4.4 WANT_WIN_TTY=1 WANT_WIN_CURSES=1 CROSS_TO_MSDOS=1 package
|
retVal=$?
|
||||||
|
if [ $retVal -eq 0 ]; then
|
||||||
|
make LUA_VERSION=5.4.4 WANT_WIN_TTY=1 WANT_WIN_CURSES=1 CROSS_TO_MSDOS=1 package
|
||||||
|
fi
|
||||||
condition: and(eq( variables['Agent.OS'], 'Linux' ), eq( variables.toolchain, 'cross'))
|
condition: and(eq( variables['Agent.OS'], 'Linux' ), eq( variables.toolchain, 'cross'))
|
||||||
workingDirectory: $(Agent.BuildDirectory)/$(netHackPath)
|
workingDirectory: $(Agent.BuildDirectory)/$(netHackPath)
|
||||||
displayName: 'Building MSDOS build'
|
displayName: 'Building MSDOS build'
|
||||||
|
|||||||
Reference in New Issue
Block a user