Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Build] get rid of virions
Browse files Browse the repository at this point in the history
dries-c committed Mar 27, 2024
1 parent 5747f2a commit 06a71a8
Showing 4 changed files with 3 additions and 25 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -11,13 +11,6 @@ jobs:
steps:
- name: Startup
uses: actions/checkout@v3
- name: Checkout PharBuilder
uses: actions/checkout@v3
with:
repository: NetherGamesMC/PharBuilder
token: ${{ secrets.ng_token }}
path: PharBuilder
ref: pm5
- name: Download PHP Release
uses: dsaltares/fetch-gh-release-asset@1.1.1
with:
@@ -38,8 +31,6 @@ jobs:
echo Building...
chmod +x pharbuilder
./pharbuilder -i . -o PharBuilder/NGPlots.phar
echo Injecting Virions...
./bin/php7/bin/php -dphar.readonly=0 PharBuilder/libasynql.phar PharBuilder/NGPlots.phar
echo Build completed!
- name: Upload
uses: actions/upload-artifact@v3.1.0
7 changes: 0 additions & 7 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
@@ -20,13 +20,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Unpack PHP Release
run: tar -xzvf PHP-Linux-x86_64-PM5.tar.gz
- name: Checkout PharBuilder
uses: actions/checkout@v3
with:
repository: NetherGamesMC/PharBuilder
token: ${{ secrets.ng_token }}
path: PharBuilder
ref: pm5
- name: Download Composer
run: curl -o composer.phar "https://getcomposer.org/composer-stable.phar"
- name: Add Composer GitHub access token
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -5,7 +5,8 @@
"type": "project",
"require": {
"php": "^8.0",
"sof3/await-generator": "^3.6"
"nethergamesmc/libasynql": "dev-pm5",
"sof3/await-generator": "3.6.1"
},
"require-dev": {
"phpstan/phpstan": "1.2.0",
9 changes: 1 addition & 8 deletions phpstan.neon.dist
Original file line number Diff line number Diff line change
@@ -3,12 +3,5 @@ parameters:
checkMissingIterableValueType: false
paths:
- src
bootstrapFiles:
- phar://PharBuilder/PocketMine-MP.phar/vendor/autoload.php
scanDirectories:
- vendor/nethergamesmc/ngessentials
- phar://PharBuilder/PocketMine-MP.phar
- phar://PharBuilder/libasynql.phar
excludePaths:
analyse:
- src/MyPlot/provider
- vendor

0 comments on commit 06a71a8

Please sign in to comment.