mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[docker] exit in case of build failure
This commit is contained in:
parent
e155378c10
commit
b4d81b0747
@ -56,10 +56,10 @@ meson setup /root/tmp/builddir \
|
||||
-Dx=false \
|
||||
-Dxbel=true \
|
||||
-Dzlib=true \
|
||||
-Dzstd=true
|
||||
-Dzstd=true || exit 1
|
||||
|
||||
meson compile -C /root/tmp/builddir
|
||||
meson compile -C /root/tmp/builddir || exit 2
|
||||
|
||||
strip /root/tmp/builddir/src/elinks
|
||||
strip /root/tmp/builddir/src/elinks || exit 3
|
||||
|
||||
upx /root/tmp/builddir/src/elinks
|
||||
upx /root/tmp/builddir/src/elinks || exit 4
|
||||
|
@ -53,10 +53,10 @@ meson setup /root/tmp/builddir_js \
|
||||
-Dx=false \
|
||||
-Dxbel=true \
|
||||
-Dzlib=true \
|
||||
-Dzstd=true
|
||||
-Dzstd=true || exit 1
|
||||
|
||||
meson compile -j $(($(nproc) - 1)) -C /root/tmp/builddir_js
|
||||
meson compile -j $(($(nproc) - 1)) -C /root/tmp/builddir_js || exit 2
|
||||
|
||||
strip /root/tmp/builddir_js/src/elinks
|
||||
strip /root/tmp/builddir_js/src/elinks || exit 3
|
||||
|
||||
upx /root/tmp/builddir_js/src/elinks
|
||||
upx /root/tmp/builddir_js/src/elinks || exit 4
|
||||
|
@ -64,12 +64,12 @@ meson setup /tmp/builddir --cross-file cross/linux-djgpp.txt \
|
||||
-Dx=false \
|
||||
-Dxbel=true \
|
||||
-Dzlib=true \
|
||||
-Dzstd=false
|
||||
-Dzstd=false || exit 1
|
||||
|
||||
meson compile -C /tmp/builddir
|
||||
meson compile -C /tmp/builddir || exit 2
|
||||
|
||||
i586-pc-msdosdjgpp-strip /tmp/builddir/src/elinks.exe
|
||||
i586-pc-msdosdjgpp-strip /tmp/builddir/src/elinks.exe || exit 3
|
||||
|
||||
upx /tmp/builddir/src/elinks.exe
|
||||
upx /tmp/builddir/src/elinks.exe || exit 4
|
||||
|
||||
#cp -a /tmp/builddir/src/elinks.exe ~/.dosemu/drive_c/ELINKS/src/
|
||||
|
Loading…
Reference in New Issue
Block a user