Skip to content

Commit cafb640

Browse files
committed
build: windows
1 parent d6d26eb commit cafb640

File tree

2 files changed

+3
-132
lines changed

2 files changed

+3
-132
lines changed

.github/workflows/linux.yaml

Lines changed: 0 additions & 110 deletions
This file was deleted.

.github/workflows/windows.yaml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@ name: Windows
22

33
on:
44
push:
5-
release:
6-
types: [published]
75

86
env:
97
PHP_EXT: zstd
10-
PHP_EXT_VERSION: ${{ github.event.release.tag_name }}
8+
PHP_EXT_VERSION: 0.15.2
119
BIN_SDK_VER: 2.5.0
1210

1311
jobs:
@@ -19,10 +17,6 @@ jobs:
1917
matrix:
2018
php:
2119
- '8.5'
22-
- '8.4'
23-
- '8.3'
24-
- '8.2'
25-
- '8.1'
2620
arch:
2721
- x64
2822
- x86
@@ -44,17 +38,6 @@ jobs:
4438
- php: '8.5'
4539
vs: vs17
4640
apcu: 'apcu'
47-
- php: '8.4'
48-
vs: vs16
49-
- php: '8.4'
50-
vs: vs17
51-
apcu: 'apcu' # Doesn't exist
52-
- php: '8.3'
53-
vs: vs17
54-
- php: '8.2'
55-
vs: vs17
56-
- php: '8.1'
57-
vs: vs17
5841

5942
runs-on: windows-latest
6043

@@ -107,7 +90,7 @@ jobs:
10790
REPORT_EXIT_STATUS: 1
10891
NO_INTERACTION: 1
10992

110-
- if: ${{ github.event_name == 'release' && matrix.library == false && matrix.apcu == '' }}
93+
- if: ${{ matrix.library == false && matrix.apcu == '' }}
11194
name: Archive DLL
11295
run: |-
11396
Copy-Item .\php_${{ env.PHP_EXT }}.dll .\$env:EXT_NAME.dll
@@ -116,7 +99,7 @@ jobs:
11699
env:
117100
EXT_NAME: php_${{ env.PHP_EXT }}-${{ env.PHP_EXT_VERSION }}-${{ matrix.php }}-${{ matrix.ts }}-${{ matrix.vs }}-${{ matrix.arch == 'x64' && 'x86_64' || matrix.arch }}
118101

119-
- if: ${{ github.event_name == 'release' && matrix.library == false && matrix.apcu == '' }}
102+
- if: ${{ matrix.library == false && matrix.apcu == '' }}
120103
name: Store archive DLL
121104
uses: actions/upload-artifact@v4
122105
with:
@@ -131,8 +114,6 @@ jobs:
131114

132115
runs-on: ubuntu-latest
133116

134-
if: ${{ github.event_name == 'release' }}
135-
136117
steps:
137118
- name: Checkout
138119
uses: actions/checkout@v4

0 commit comments

Comments
 (0)