mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 12:18:46 +00:00
Update PHP versions used by GitHub Actions
This commit is contained in:
parent
d455188d03
commit
a11cf8c296
12
.github/workflows/main.yml
vendored
12
.github/workflows/main.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
image: [ubuntu-20.04]
|
image: [ubuntu-20.04]
|
||||||
php: [7.4.23, 8.0.10]
|
php: [7.4.24, 8.0.11]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2 #needed for build.sh
|
- uses: actions/checkout@v2 #needed for build.sh
|
||||||
@ -37,10 +37,10 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- php: 8.0.10
|
- php: 8.0.11
|
||||||
config: phpstan.neon.dist
|
config: phpstan.neon.dist
|
||||||
image: ubuntu-20.04
|
image: ubuntu-20.04
|
||||||
- php: 7.4.23
|
- php: 7.4.24
|
||||||
config: phpstan.php7.neon
|
config: phpstan.php7.neon
|
||||||
image: ubuntu-20.04
|
image: ubuntu-20.04
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
image: [ubuntu-20.04]
|
image: [ubuntu-20.04]
|
||||||
php: [7.4.23, 8.0.10]
|
php: [7.4.24, 8.0.11]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -142,7 +142,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
image: [ubuntu-20.04]
|
image: [ubuntu-20.04]
|
||||||
php: [7.4.23, 8.0.10]
|
php: [7.4.24, 8.0.11]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
@ -194,7 +194,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
image: [ubuntu-20.04]
|
image: [ubuntu-20.04]
|
||||||
php: [7.4.23, 8.0.10]
|
php: [7.4.24, 8.0.11]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -17,7 +17,7 @@ INSTALL_DIR="$(pwd)/bin/php7"
|
|||||||
export CFLAGS="$CFLAGS -march=x86-64"
|
export CFLAGS="$CFLAGS -march=x86-64"
|
||||||
export CXXFLAGS="$CXXFLAGS -march=x86-64"
|
export CXXFLAGS="$CXXFLAGS -march=x86-64"
|
||||||
|
|
||||||
git clone https://github.com/php-build/php-build.git
|
git clone https://github.com/pmmp/php-build.git
|
||||||
cd php-build
|
cd php-build
|
||||||
./install-dependencies.sh
|
./install-dependencies.sh
|
||||||
echo '"pthreads",,"https://github.com/pmmp/pthreads.git",,,"extension",' >> share/php-build/extension/definition
|
echo '"pthreads",,"https://github.com/pmmp/pthreads.git",,,"extension",' >> share/php-build/extension/definition
|
||||||
|
Loading…
x
Reference in New Issue
Block a user