mirror of https://github.com/FDOS/kernel.git
Merge pull request #192 from jmalak/fix-2
CI-build: do download and setup Open Watcom more transparent
This commit is contained in:
commit
6cd67917a8
12
ci_build.sh
12
ci_build.sh
|
@ -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
|
||||
|
||||
|
|
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue