Skip to content

Commit 86ea0f7

Browse files
committed
CI-build: do download and setup Open Watcom more transparent
1 parent 7cd0e19 commit 86ea0f7

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

ci_build.sh

+1-11
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,7 @@ mv -n bin/country.sys _output/gcc/.
2828
mv -n share/src/share.com _output/gcc/.
2929
mv -n share/src/share.map _output/gcc/.
3030

31-
# Watcom
32-
OWTAR=ow-snapshot.tar.xz
33-
if [ ! -d _watcom ] ; then
34-
mkdir -p _downloads
35-
mkdir _watcom
36-
if [ ! -f _downloads/$OWTAR ] ; then
37-
(cd _downloads && wget --no-verbose https://github.com/open-watcom/open-watcom-v2/releases/download/Last-CI-build/$OWTAR)
38-
fi
39-
(cd _watcom && tar -xf ../_downloads/$OWTAR)
40-
fi
41-
31+
# Open Watcom Environment Setup
4232
export WATCOM=$BUILD_DIR/_watcom
4333
export PATH=$BUILD_DIR/bin:$PATH:$WATCOM/binl64
4434

ci_prereq.sh

+5
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,15 @@ sudo apt install dosemu2 dos2unix
1414
# Perhaps later we should build using Freecom from published package
1515

1616
mkdir -p _downloads
17+
mkdir -p _watcom
1718
cd _downloads
1819

1920
HERE=$(pwd)
2021

22+
# download and unpack Open Watcom snapshot
23+
[ -f ow-snapshot.tar.xz ] || wget --no-verbose https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.xz
24+
tar -C ../_watcom -xf ow-snapshot.tar.xz
25+
2126
#IBIBLIO_PATH='http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos'
2227
IBIBLIO_PATH='https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.3'
2328

0 commit comments

Comments
 (0)