This commit is contained in:
midoks 2022-06-27 17:26:59 +08:00
parent d7250ebde5
commit 596769e798
11 changed files with 55 additions and 11 deletions

View File

@ -31,8 +31,12 @@ jobs:
sudo bash scripts/install_dev.sh
- name: Install PHP53
run: |
SYS_MAKEJN="-j4"
SYS_MAKEJN="-j8"
cd /www/server/mdserver-web/plugins/php && sudo bash install.sh install 53
- name: Install PHP54
run: |
SYS_MAKEJN="-j8"
cd /www/server/mdserver-web/plugins/php && sudo bash install.sh install 54
- name: Start DEBUG
run: |
gunicorn -c setting.py app:app

View File

@ -45,6 +45,10 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
if [ ! -d $serverPath/php/${PHP_VER} ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/${PHP_VER} \
@ -69,7 +73,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
$OPTIONS \
--enable-fpm
make clean && make
make clean && make $MAKEJN
#debian11,没有生成php54 man
if [ ! -f sapi/cli/php.1 ];then

View File

@ -44,6 +44,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
if [ ! -d $serverPath/php/55 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/55 \
@ -68,7 +73,7 @@ if [ ! -d $serverPath/php/55 ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make clean && make && make install && make clean
make clean && make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#

View File

@ -44,6 +44,10 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
if [ ! -d $serverPath/php/56 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/56 \
@ -70,7 +74,7 @@ if [ ! -d $serverPath/php/56 ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make clean && make && make install && make clean
make clean && make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#

View File

@ -44,6 +44,11 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
if [ ! -d $serverPath/php/70 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/70 \
@ -67,7 +72,7 @@ if [ ! -d $serverPath/php/70 ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make clean && make && make install && make clean
make clean && make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#

View File

@ -43,6 +43,10 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
if [ ! -d $serverPath/php/71 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/71 \
@ -66,7 +70,7 @@ if [ ! -d $serverPath/php/71 ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make clean && make && make install && make clean
make clean && make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#

View File

@ -44,6 +44,10 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
if [ ! -d $serverPath/php/72 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
--prefix=$serverPath/php/72 \
@ -67,7 +71,7 @@ if [ ! -d $serverPath/php/72 ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make clean && make && make install && make clean
make clean && make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#

View File

@ -49,6 +49,9 @@ else
OPTIONS="${OPTIONS} --with-libzip=${serverPath}/lib/libzip"
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
if [ ! -d $serverPath/php/73 ];then
cd $sourcePath/php/php${PHP_VER} && ./configure \
@ -72,7 +75,7 @@ if [ ! -d $serverPath/php/73 ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make clean && make && make install && make clean
make clean && make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#

View File

@ -53,6 +53,10 @@ else
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
echo "$sourcePath/php/php${PHP_VER}"
if [ ! -d $serverPath/php/${PHP_VER} ];then
@ -79,7 +83,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make && make install
make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

View File

@ -52,6 +52,9 @@ else
OPTIONS="${OPTIONS} --with-curl"
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
echo "$sourcePath/php/php${PHP_VER}"
@ -79,7 +82,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make clean && make && make install && make clean
make clean && make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#
}

View File

@ -57,6 +57,10 @@ else
fi
# 加快测试速度 For Github Action
MAKEJN='${SYS_MAKEJN:+"-j1"}'
echo "SYS_MAKEJN:$MAKEJN"
echo "$sourcePath/php/php${PHP_VER}"
if [ ! -d $serverPath/php/${PHP_VER} ];then
@ -83,7 +87,7 @@ if [ ! -d $serverPath/php/${PHP_VER} ];then
--disable-fileinfo \
$OPTIONS \
--enable-fpm
make clean && make && make install && make clean
make clean && make $MAKEJN && make install && make clean
fi
#------------------------ install end ------------------------------------#
}