Skip to content

Commit 4628e43

Browse files
andrewbirdPerditionC
authored andcommitted
CI: Downcase TARGET variable
The main reason for this is so the filenames are downcased on Linux systems such as the CI, which has the benefit of not creating mixed case filenames within the Actions output zip. On Windows and DOS systems there will be no appreciable difference seen as fileystems there are either case insensitive or case preserving.
1 parent b2f23f5 commit 4628e43

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

ci_build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ mkdir _output/gcc
1616
git clean -x -d -f -e test -e _output -e _downloads -e _watcom
1717
make -C country clean
1818
make all COMPILER=gcc
19-
mv -n bin/KGC*.map bin/KGC*.sys _output/gcc/.
19+
mv -n bin/kgc*.map bin/kgc*.sys _output/gcc/.
2020
mv -n bin/country.sys _output/gcc/.
2121
# GCC share
2222
(
@@ -36,7 +36,7 @@ mkdir _output/wc
3636
git clean -x -d -f -e test -e _output -e _downloads -e _watcom
3737
make -C country clean
3838
make all COMPILER=owlinux
39-
mv -n bin/KWC*.map bin/KWC*.sys _output/wc/.
39+
mv -n bin/kwc*.map bin/kwc*.sys _output/wc/.
4040
mv -n bin/country.sys _output/wc/.
4141

4242
## DOS (GCC)
@@ -71,7 +71,7 @@ git clean -x -d -f -e test -e _output -e _downloads -e _watcom
7171
} | unix2dos > config.bat
7272

7373
dosemu -td -q -K . -E "build.bat"
74-
mv -n bin/KWC*.map bin/KWC*.sys _output/wc_dos/.
74+
mv -n bin/kwc*.map bin/kwc*.sys _output/wc_dos/.
7575
mv -n bin/country.sys _output/wc_dos/.
7676

7777

@@ -91,7 +91,7 @@ if [ -d ${HOME}/.dosemu/drive_c/tc201 ] ; then
9191
} | unix2dos > config.bat
9292

9393
dosemu -td -q -K . -E "build.bat"
94-
mv -n bin/KTC*.map bin/KTC*.sys _output/tc_dos/.
94+
mv -n bin/ktc*.map bin/ktc*.sys _output/tc_dos/.
9595
mv -n bin/country.sys _output/tc_dos/.
9696
# TC share
9797
(

ci_test.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22

33
KVER=8632
44

5-
if [ ! -f _output/gcc/KGC${KVER}.sys ] ; then
5+
if [ ! -f _output/gcc/kgc${KVER}.sys ] ; then
66
echo GCC built kernel not present
77
exit 1
88
fi
99

10-
if [ ! -f _output/wc/KWC${KVER}.sys ] ; then
10+
if [ ! -f _output/wc/kwc${KVER}.sys ] ; then
1111
echo Watcom built kernel not present
1212
exit 1
1313
fi
1414

15-
if [ ! -f _output/wc_dos/KWC38632.sys ] ; then
15+
if [ ! -f _output/wc_dos/kwc38632.sys ] ; then
1616
echo Watcom DOS built kernel not present
1717
exit 1
1818
fi
1919

20-
if [ ! -f _output/tc_dos/KTC8632.sys ] && [ -d ${HOME}/.dosemu/drive_c/tc201 ] ; then
20+
if [ ! -f _output/tc_dos/ktc8632.sys ] && [ -d ${HOME}/.dosemu/drive_c/tc201 ] ; then
2121
echo Turbo C 2.01 built kernel not present
2222
exit 1
2323
fi
@@ -26,23 +26,23 @@ echo Kernels have all been built
2626
find _output -ls
2727

2828
cd test
29-
if ! ./test.sh ../_output/gcc/KGC${KVER}.sys diskgc bootgc 'boot gcc: '
29+
if ! ./test.sh ../_output/gcc/kgc${KVER}.sys diskgc bootgc 'boot gcc: '
3030
then
3131
echo GCC boot test failed
3232
exit 2
3333
fi
34-
if ! ./test.sh ../_output/wc/KWC${KVER}.sys diskwc bootwc 'boot wc: '
34+
if ! ./test.sh ../_output/wc/kwc${KVER}.sys diskwc bootwc 'boot wc: '
3535
then
3636
echo OpenWatcom boot test failed
3737
exit 2
3838
fi
39-
if ! ./test.sh ../_output/wc_dos/KWC38632.sys diskwcd bootwcd 'boot wcd: '
39+
if ! ./test.sh ../_output/wc_dos/kwc38632.sys diskwcd bootwcd 'boot wcd: '
4040
then
4141
echo 'OpenWatcom(DOS) boot test failed'
4242
exit 2
4343
fi
4444
if [ -d ${HOME}/.dosemu/drive_c/tc201 ] ; then
45-
if ! ./test.sh ../_output/tc_dos/KTC8632.sys disktcd boottcd 'boot tcd: '
45+
if ! ./test.sh ../_output/tc_dos/ktc8632.sys disktcd boottcd 'boot tcd: '
4646
then
4747
echo 'Turbo C 2.01 boot test failed'
4848
exit 2

mkfiles/bc3.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TINY=-lt
1818
CFLAGST=-L$(LIBPATH) -mt -a- -k- -f- -ff- -O -Z -d
1919
CFLAGSC=-L$(LIBPATH) -a- -mc
2020

21-
TARGET=KT3
21+
TARGET=kt3
2222

2323
# used for building the library
2424

mkfiles/bc5.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TINY=-lt
1818
CFLAGST=-L$(LIBPATH) -mt -a- -k- -f- -ff- -O -Z -d
1919
CFLAGSC=-L$(LIBPATH) -a- -mc
2020

21-
TARGET=KBC
21+
TARGET=kbc
2222

2323
# used for building the library
2424

mkfiles/gcc.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#* TARGETOPT : options, handled down to the compiler
88
#**********************************************************************
99

10-
TARGET=KGC$(XCPU)$(XFAT)
10+
TARGET=kgc$(XCPU)$(XFAT)
1111
TARGETOPT=-march=i8086
1212

1313
ifeq ($(XCPU),186)

mkfiles/mscl8.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ TARGETOPT=-G1
3434
TARGETOPT=-G3
3535
!endif
3636

37-
TARGET=KMS
37+
TARGET=kms
3838

3939
#
4040
# heavy stuff - building

mkfiles/tc2.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TINY=-lt
1818
CFLAGST=-L$(LIBPATH) -mt -a- -k- -f- -ff- -O -Z -d -w
1919
CFLAGSC=-L$(LIBPATH) -a- -mc
2020

21-
TARGET=KTC
21+
TARGET=ktc
2222

2323
# used for building the library
2424

mkfiles/tc3.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TINY=-lt
1818
CFLAGST=-L$(LIBPATH) -mt -a- -k- -f- -ff- -O -Z -d
1919
CFLAGSC=-L$(LIBPATH) -a- -mc
2020

21-
TARGET=KT3
21+
TARGET=kt3
2222

2323
# used for building the library
2424

mkfiles/turbocpp.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TINY=-lt
1818
CFLAGST=-L$(LIBPATH) -mt -a- -k- -f- -ff- -O -Z -d
1919
CFLAGSC=-L$(LIBPATH) -a- -mc
2020

21-
TARGET=KTP
21+
TARGET=ktp
2222

2323
# used for building the library
2424

mkfiles/watcom.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ TINY=-mt
2525
CFLAGST=-zp1-os-s-we-e3-wx-bt=DOS
2626
CFLAGSC=-mc-zp1-os-s-we-e3-wx-bt=DOS
2727

28-
TARGET=KWC
28+
TARGET=kwc
2929

3030
# used for building the library
3131

0 commit comments

Comments
 (0)