File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed
Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 2323
2424 - name : Package install
2525 run : ./ci_prereq.sh
26+ env :
27+ TC201_ARCHIVE_PATHNAME : ${{ vars.TC201_ARCHIVE_PATHNAME }}
28+ TC201_ARCHIVE_FILENAME : ${{ vars.TC201_ARCHIVE_FILENAME }}
29+ TC201_ARCHIVE_PASSPHRASE : ${{ secrets.TC201_ARCHIVE_PASSPHRASE }}
2630
2731 - name : build
2832 run : ./ci_build.sh
Original file line number Diff line number Diff line change @@ -53,6 +53,12 @@ DEVEL=${IBIBLIO_PATH}/devel
5353# get watcom for DOS
5454[ -f watcomc.zip ] || wget --no-verbose ${DEVEL} /watcomc.zip
5555
56+ # get Turbo C 2.01 (maybe encrypted) tar file
57+ if [ -n " ${TC201_ARCHIVE_FILENAME} " ] && [ ! -f ${TC201_ARCHIVE_FILENAME} ] ; then
58+ echo " Downloading Turbo C 2.01"
59+ wget --no-verbose ${TC201_ARCHIVE_PATHNAME} /${TC201_ARCHIVE_FILENAME}
60+ fi
61+
5662mkdir -p ${HOME} /.dosemu/drive_c
5763cd ${HOME} /.dosemu/drive_c && (
5864
@@ -83,4 +89,15 @@ cd ${HOME}/.dosemu/drive_c && (
8389
8490 unzip -LL -q ${HERE} /watcomc.zip
8591 echo PATH to watcom binaries is ' c:/devel/watcomc/binw'
92+
93+ # Turbo C
94+ if [ -f ${HERE} /${TC201_ARCHIVE_FILENAME} ] && [ -n " ${TC201_ARCHIVE_PASSPHRASE} " ] ; then
95+ echo Decrypting and unpacking Turbo C 2.01
96+ echo " ${TC201_ARCHIVE_PASSPHRASE} " | gpg --decrypt --batch --passphrase-fd 0 ${HERE} /${TC201_ARCHIVE_FILENAME} | tar -jxf -
97+ elif [ -f ${HERE} /${TC201_ARCHIVE_FILENAME} ] ; then
98+ echo Unpacking Turbo C 2.01
99+ tar -jxf ${HERE} /${TC201_ARCHIVE_FILENAME}
100+ else
101+ echo No Turbo C 2.01 archive available
102+ fi
86103)
You can’t perform that action at this time.
0 commit comments