Skip to content

Commit d22aa56

Browse files
committed
Remove windows builds for now
1 parent deb9cdc commit d22aa56

File tree

1 file changed

+1
-45
lines changed

1 file changed

+1
-45
lines changed

.github/workflows/main-pm-matrix.yml

Lines changed: 1 addition & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -143,50 +143,9 @@ jobs:
143143
workspace.tar.gz
144144
if-no-files-found: error
145145

146-
windows:
147-
name: Windows
148-
runs-on: windows-2019
149-
150-
steps:
151-
- uses: actions/checkout@v4
152-
153-
- name: Prepare download cache
154-
id: download-cache
155-
uses: actions/cache@v4
156-
with:
157-
path: ./download_cache
158-
key: windows-cache-${{ hashFiles('./windows-compile-vs.ps1') }}
159-
restore-keys: windows-cache-
160-
161-
- name: Compile PHP
162-
run: .\windows-compile-vs.ps1
163-
env:
164-
SOURCES_PATH: ${{ github.workspace }}\pocketmine-php-sdk
165-
PM_VERSION_MAJOR: ${{ inputs.pm-version-major }}
166-
PHP_VERSION_BASE: ${{ inputs.php-version-base }}
167-
168-
- name: Prepare artifacts
169-
run: |
170-
mkdir temp
171-
Compress-Archive -Path .\bin -DestinationPath "PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}.zip"
172-
move php-debug-pack-*.zip temp/Z-PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}-debugging-symbols.zip
173-
move temp\*.zip .
174-
175-
- name: Upload artifacts
176-
uses: actions/upload-artifact@v4
177-
if: always()
178-
with:
179-
name: PHP-${{ inputs.php-version-base }}-Windows-PM${{ inputs.pm-version-major }}
180-
path: |
181-
*PHP-${{ inputs.php-version-base }}-Windows-x64-PM${{ inputs.pm-version-major }}*.zip
182-
compile.log
183-
windows-compile-vs.bat
184-
if-no-files-found: error
185-
186-
187146
publish:
188147
name: Publish binaries
189-
needs: [linux, macos, windows]
148+
needs: [linux, macos]
190149
runs-on: ubuntu-22.04
191150
if: ${{ github.ref_name == 'stable' && github.ref_type == 'branch' && !contains(github.event.head_commit.message, '[no release]') }}
192151
concurrency: release-${{ inputs.php-version-base }}-pm${{ inputs.pm-version-major }}
@@ -230,7 +189,6 @@ jobs:
230189
echo "Build number: ${{ github.run_number }}" >> changelog.md
231190
echo -e "\n\n\n" >> changelog.md
232191
echo ":information_source: **Linux/MacOS users**: Please see [this page](https://doc.pmmp.io/en/rtfd/faq/installation/opcache.so.html) to fix extension loading errors. Also, check out the [PocketMine-MP Linux/MacOS installer](https://doc.pmmp.io/en/rtfd/installation/get-dot-pmmp-dot-io.html)." >> changelog.md
233-
echo ":warning: **Windows users**: Don't forget to install [Visual C++ Redistributable](https://aka.ms/vs/17/release/vc_redist.x64.exe) or the binary will not work!" >> changelog.md
234192
echo -e "\n\n\n" >> changelog.md
235193
236194
if [[ "${{ inputs.special-release }}" != "none" ]]; then
@@ -252,7 +210,6 @@ jobs:
252210
with:
253211
artifacts: |
254212
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
255-
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
256213
${{ github.workspace }}/*.gdbinit
257214
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - Recommended
258215
tag: pm${{ inputs.pm-version-major }}-latest
@@ -268,7 +225,6 @@ jobs:
268225
with:
269226
artifacts: |
270227
${{ github.workspace }}/*PHP-*-PM*/*.tar.gz
271-
${{ github.workspace }}/*PHP-*-Windows-PM*/*.zip
272228
${{ github.workspace }}/*.gdbinit
273229
name: PM ${{ inputs.pm-version-major }}.x (${{ steps.date.outputs.DATE }}) - PHP ${{ inputs.php-version-base }}
274230
tag: pm${{ inputs.pm-version-major }}-php-${{ inputs.php-version-base }}-latest

0 commit comments

Comments
 (0)