Commit cf51961c6a8f2b2dafb6a81624a05012e5aa43fa

Authored by Perry Werneck
1 parent a9d996cf
Exists in develop

Debugging msys workflow.

Showing 2 changed files with 14 additions and 10 deletions   Show diff stats
.github/workflows/msys2.yml
1 1 name: MSYS2
2 2 on:
  3 + push:
  4 + branches:
  5 + - master
3 6 pull_request:
4 7 branches:
5 8 - master
... ...
win/ci-build.sh
... ... @@ -16,30 +16,31 @@ die ( ) {
16 16 exit -1
17 17 }
18 18  
19   -cd $(dirname $(dirname $(readlink -f ${0})))
  19 +myDIR=$(dirname $(dirname $(readlink -f ${0})))
  20 +echo "myDIR=${myDIR}"
20 21  
21   -rm -fr .build
  22 +cd ${myDIR}
  23 +rm -fr ${myDIR}/.build
22 24  
23 25 #
24 26 # Build LIB3270
25 27 #
26 28 echo "Building lib3270"
27   -mkdir -p .build/lib3270
28   -git clone https://github.com/PerryWerneck/lib3270.git ./.build/lib3270 > $LOGFILE 2>&1 || die "clone lib3270 failure"
29   -pushd ./.build/lib3270
  29 +mkdir -p ${myDIR}/.build/lib3270
  30 +git clone https://github.com/PerryWerneck/lib3270.git ${myDIR}/.build/lib3270 > $LOGFILE 2>&1 || die "clone lib3270 failure"
  31 +pushd ${myDIR}/.build/lib3270
30 32 ./autogen.sh > $LOGFILE 2>&1 || die "Autogen failure"
31 33 ./configure > $LOGFILE 2>&1 || die "Configure failure"
32 34 make clean > $LOGFILE 2>&1 || die "Make clean failure"
33 35 make all > $LOGFILE 2>&1 || die "Make failure"
  36 +make install > $LOGFILE 2>&1 || die "Install failure"
34 37 popd
35 38  
36   -export LIB3270_CFLAGS="-I./.build/lib3270/src/include"
37   -export LIB3270_LIBS="-L./.build/lib3270/.bin/Release -l3270.delayed"
38   -
39 39 #
40   -# Build LIBV3270
  40 +# Build PW3270
41 41 #
42   -echo "Building libv3270"
  42 +echo "Building PW3270"
  43 +cd ${myDIR}
43 44 ./autogen.sh > $LOGFILE 2>&1 || die "Autogen failure"
44 45 ./configure > $LOGFILE 2>&1 || die "Configure failure"
45 46 make clean > $LOGFILE 2>&1 || die "Make clean failure"
... ...