Skip to content

Commit

Permalink
Merge pull request #192 from jmalak/fix-2
Browse files Browse the repository at this point in the history
CI-build: do download and setup Open Watcom more transparent
  • Loading branch information
andrewbird authored Dec 23, 2024
2 parents abeda02 + 86ea0f7 commit 6cd6791
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
12 changes: 1 addition & 11 deletions ci_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,7 @@ mv -n bin/country.sys _output/gcc/.
mv -n share/src/share.com _output/gcc/.
mv -n share/src/share.map _output/gcc/.

# Watcom
OWTAR=ow-snapshot.tar.xz
if [ ! -d _watcom ] ; then
mkdir -p _downloads
mkdir _watcom
if [ ! -f _downloads/$OWTAR ] ; then
(cd _downloads && wget --no-verbose https://github.com/open-watcom/open-watcom-v2/releases/download/Last-CI-build/$OWTAR)
fi
(cd _watcom && tar -xf ../_downloads/$OWTAR)
fi

# Open Watcom Environment Setup
export WATCOM=$BUILD_DIR/_watcom
export PATH=$BUILD_DIR/bin:$PATH:$WATCOM/binl64

Expand Down
5 changes: 5 additions & 0 deletions ci_prereq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ sudo apt install dosemu2 dos2unix
# Perhaps later we should build using Freecom from published package

mkdir -p _downloads
mkdir -p _watcom
cd _downloads

HERE=$(pwd)

# download and unpack Open Watcom snapshot
[ -f ow-snapshot.tar.xz ] || wget --no-verbose https://github.com/open-watcom/open-watcom-v2/releases/download/Current-build/ow-snapshot.tar.xz
tar -C ../_watcom -xf ow-snapshot.tar.xz

#IBIBLIO_PATH='http://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/distributions/1.2/repos'
IBIBLIO_PATH='https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.3'

Expand Down

0 comments on commit 6cd6791

Please sign in to comment.