mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Squashed commit of the following:
commit 1f42169f0f929958f7d68a68f194c6f3492b7eb4 Author: Dylan K. Taylor <odigiman@gmail.com> Date: Mon Dec 14 21:23:44 2020 +0000 ... install it in the right fucking place commit d2a88abeda5fa937d3f508c4e0300a949af97846 Author: Dylan K. Taylor <odigiman@gmail.com> Date: Mon Dec 14 21:14:21 2020 +0000 Build PHP using system libraries to reduce rebuild time
This commit is contained in:
6
.github/workflows/main.yml
vendored
6
.github/workflows/main.yml
vendored
@ -24,13 +24,11 @@ jobs:
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: "./bin"
|
||||
key: "php-build-generic-${{ hashFiles('./build/php/compile.sh') }}"
|
||||
key: "php-build-generic-${{ hashFiles('./tests/gh-actions/build.sh') }}"
|
||||
|
||||
- name: Compile PHP
|
||||
if: steps.php-build-cache.outputs.cache-hit != 'true'
|
||||
run: |
|
||||
sudo apt update && sudo apt install -y re2c libtool libtool-bin
|
||||
march=x86-64 ./build/php/compile.sh -j8
|
||||
run: ./tests/gh-actions/build.sh
|
||||
|
||||
- name: Prefix PHP to PATH
|
||||
run: echo "$(pwd)/bin/php7/bin" >> $GITHUB_PATH
|
||||
|
Reference in New Issue
Block a user