Commit Graph

154 Commits

Author SHA1 Message Date
Dylan K. Taylor
974d08efd6 Bump PHP minimum requirement to 8.0
PHPStan failed on 7.4 after updating to 0.12.99, and I figured it was less hassle to just do this than fix the build. In any case, we stopped shipping 7.4 months ago, and warned at 3.22 release that 7.4 support would soon be dropped.
2021-10-09 20:09:42 +01:00
Dylan K. Taylor
f9e6fd44bc Merge branch 'stable'
it looks like I goofed up the last merge and the changelog didn't get
merged into master.
2021-10-02 20:18:06 +01:00
Dylan K. Taylor
a11cf8c296 Update PHP versions used by GitHub Actions 2021-09-28 20:52:40 +01:00
Dylan K. Taylor
43ac3fbf3e actions: use newer PHP versions 2021-09-22 00:51:06 +01:00
Dylan K. Taylor
87dc763d92 actions: test that generated code is consistent 2021-09-17 16:46:27 +01:00
Dylan K. Taylor
57e2b16139 Dropped PreProcessor 2021-09-07 14:04:52 +01:00
Dylan K. Taylor
806f03bd37 consistency ... 2021-09-07 13:00:28 +01:00
Dylan K. Taylor
b4b3c21d30 Merge branch 'stable' 2021-08-19 15:39:16 +01:00
Dylan T
cd3c96aad2 shivammathur/setup-php 2.12.0 2021-08-19 02:31:18 +01:00
Dylan K. Taylor
e561fa6222 actions: update PHP versions 2021-08-16 23:14:17 +01:00
Dylan K. Taylor
3319fad863 Fix build error 2021-07-26 20:33:44 +01:00
Dylan K. Taylor
2b5667a56b Move PHP minimum to 8.0 2021-07-26 20:29:39 +01:00
Dylan K. Taylor
09eac0e129 Merge remote-tracking branch 'origin/stable' 2021-07-26 20:14:33 +01:00
Dylan K. Taylor
01fe497c49 phpstan: use PHP 8.0 as primary version
I'm using 8.0 for local development now, so having the phpstan configs targeted at 7.4 by default makes things inconvenient.
2021-07-26 14:34:47 +01:00
Dylan K. Taylor
58498c2b0b Merge remote-tracking branch 'origin/stable' 2021-07-23 16:40:19 +01:00
Dylan K. Taylor
81c5b83bd9 actions: test on 8.0 2021-07-23 15:55:01 +01:00
Dylan K. Taylor
ac8b13ee36 actions: don't preprocess anything except dependency src 2021-07-14 20:47:07 +01:00
Dylan K. Taylor
c7868a810d Move PHP minimum to 7.4
7.3 isn't actively tested anymore, and since 7.4 has been out for so long already, it doesn't make sense to keep pandering to users who can't be bothered to update their PHP binaries.
In most cases, these users are also experiencing problems caused by older versions of pthreads that were long since fixed.
In addition, pthreads is no longer tested or supported on 7.3, so users can't get newer bug fixes even if they wanted to.
2021-06-13 15:34:24 +01:00
Dylan K. Taylor
920eb7cce5 Merge branch 'stable' 2021-06-09 13:46:00 +01:00
Dylan K. Taylor
65c53e6512 actions: use PHP 7.4.20 2021-06-09 13:44:00 +01:00
Dylan K. Taylor
4c4db1836f Merge remote-tracking branch 'origin/stable' 2021-05-11 19:28:09 +01:00
Dylan K. Taylor
5a7736b179 actions: go with PHP 7.4.19 2021-05-10 20:30:08 +01:00
Dylan K. Taylor
5116e11cea Only install the stuff we need to run PHP, not to build it 2021-05-10 17:55:52 +01:00
Dylan K. Taylor
4ca5558ec1 Merge remote-tracking branch 'origin/stable' 2021-05-05 11:14:01 +01:00
Dylan K. Taylor
a13b0c98a1 Updated to PHP-CS-Fixer 3.0.0 2021-05-04 22:18:18 +01:00
Dylan K. Taylor
e6ff908e18 actions: update PHP versions 2021-05-04 21:52:17 +01:00
Dylan K. Taylor
4eaa600f35 actions: clone submodules in PHPUnit job 2021-03-31 21:54:27 +01:00
Dylan K. Taylor
7fe6815f7c Merge branch 'stable' 2021-03-28 20:39:59 +01:00
Dylan K. Taylor
a9eaa55427 actions: added a php-cs-fixer run 2021-03-28 20:38:56 +01:00
Dylan K. Taylor
61bca7cfbc master supports 7.4 only 2021-03-25 01:31:25 +00:00
Dylan K. Taylor
95eb70a924 Merge branch 'stable' 2021-03-25 01:30:52 +00:00
Dylan K. Taylor
b29f83ee99 Added preprocessor test build job to Actions
this should catch problems like the one that broke 3.17.6 at the root.
2021-03-25 01:25:04 +00:00
Dylan K. Taylor
c1e5dd2a4e Merge branch 'stable' 2021-03-07 20:15:11 +00:00
Dylan K. Taylor
3d90625020 Revert "Revert "Use PHP 7.4.16 for Actions""
This reverts commit 9f6b914925.
2021-03-07 16:37:33 +00:00
Dylan K. Taylor
9f6b914925 Revert "Use PHP 7.4.16 for Actions"
This reverts commit 0e614ea8fd.

apparently php-build doesn't have 7.4.16 yet ...
2021-03-06 00:41:19 +00:00
Dylan K. Taylor
0e614ea8fd Use PHP 7.4.16 for Actions 2021-03-06 00:32:56 +00:00
Dylan K. Taylor
7573a01b17 Merge branch 'stable' 2021-02-11 16:42:23 +00:00
Dylan K. Taylor
7407e504b6 actions: bump PHP versions to 7.3.27 and 7.4.15 2021-02-11 16:35:19 +00:00
Dylan K. Taylor
4158f77110 Merge remote-tracking branch 'origin/stable' 2021-02-03 17:52:28 +00:00
Dylan K. Taylor
b1bb9fbd1c Reinstall PHP deps on cache hit
the 20.04 actions image doesn't have libzip5 and who knows what else is missing ...
2021-02-03 17:42:11 +00:00
Dylan K. Taylor
561fc62232 Merge remote-tracking branch 'origin/stable'
# Conflicts:
#	.github/workflows/main.yml
#	resources/vanilla
#	src/pocketmine/VersionInfo.php
#	src/world/format/io/region/RegionLoader.php
2021-02-03 17:32:47 +00:00
Dylan T
96181f8cf5 Version PHP build caches by image version
we can't safely use `ubuntu-latest` because the build caches will break if they were built for 18.04 and used on 20.04, or vice versa. Instead, we pin the images (and caches) to a specific version.
2021-02-03 17:24:50 +00:00
Dylan K. Taylor
487b5dd11d Merge branch 'stable' 2021-01-16 19:44:15 +00:00
Dylan T
efc5f34877 wrong place ... when shared defaults :( 2021-01-15 17:53:39 +00:00
Dylan K. Taylor
dd0d8842d5 actions: disable fail-fast 2021-01-15 17:35:27 +00:00
Dylan K. Taylor
4c0d3d68af Bump PHP requirement to 7.4.0 2021-01-12 21:53:41 +00:00
Dylan K. Taylor
da71540fce first shot building multi PHP versions on actions 2021-01-05 22:03:51 +00:00
Dylan K. Taylor
5431807e43 Split tests up into multiple jobs
this gives a more granular view of test failures and also allows independent steps to run in parallel.
2020-12-23 19:48:39 +00:00
Dylan T
d49ae832e8 actions: rename cache miss fallback build step 2020-12-21 21:32:27 +00:00
Dylan T
ff9d013005 build: hash composer cache by lockfile instead of composer.json
this ensures a cache refresh when transitive dependencies are updated.
2020-12-20 23:58:37 +00:00