File tree Expand file tree Collapse file tree 1 file changed +41
-17
lines changed Expand file tree Collapse file tree 1 file changed +41
-17
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,14 @@ permissions:
1212 contents : read
1313
1414jobs :
15- self-built-v8 :
15+ self-built-v8-cache-warmup :
1616 strategy :
1717 matrix :
18- operating-system :
18+ operating-system : # &self-built-v8-operating-systems
1919 - ubuntu-latest
2020# - windows-latest
2121 - macos-latest
22- php-versions :
23- # - '8.1'
24- - ' 8.2'
25- - ' 8.3'
26- - ' 8.4'
27- v8-versions :
22+ v8-versions : # &self-built-v8-v8-versions
2823 - 10.9.194
2924# - 11.9.172
3025 - 12.9.203
3328 runs-on : ${{ matrix.operating-system }}
3429
3530 steps :
36- - name : Checkout code
37- uses : actions/checkout@v2
38-
39- - name : Setup PHP
40- uses : shivammathur/setup-php@v2
41- with :
42- php-version : ${{ matrix.php-versions }}
43- coverage : none
44-
4531 - name : Restore cache v8 ${{ matrix.v8-versions }} build
4632 id : v8-build-cache
4733 uses : actions/cache/restore@v4
8874 path : /opt/v8/self-built
8975 key : ${{ steps.v8-build-cache.outputs.cache-primary-key }}
9076
77+ self-built-v8 :
78+ needs : self-built-v8-cache-warmup
79+
80+ strategy :
81+ matrix :
82+ operating-system : # *self-built-v8-operating-systems
83+ - ubuntu-latest
84+ # - windows-latest
85+ - macos-latest
86+ v8-versions : # *self-built-v8-v8-versions
87+ - 10.9.194
88+ # - 11.9.172
89+ - 12.9.203
90+ # - 13.1.104
91+ php-versions :
92+ # - '8.1'
93+ - ' 8.2'
94+ - ' 8.3'
95+ - ' 8.4'
96+
97+ runs-on : ${{ matrix.operating-system }}
98+
99+ steps :
100+ - name : Checkout code
101+ uses : actions/checkout@v2
102+
103+ - name : Setup PHP
104+ uses : shivammathur/setup-php@v2
105+ with :
106+ php-version : ${{ matrix.php-versions }}
107+ coverage : none
108+
109+ - name : Download cache v8 ${{ matrix.v8-versions }} build
110+ uses : actions/cache/restore@v4
111+ with :
112+ path : /opt/v8/self-built
113+ key : ${{ runner.os }}-${{ matrix.v8-versions }}-v8-build
114+
91115 - name : Build extension
92116 run : |
93117 phpize
You can’t perform that action at this time.
0 commit comments