File tree Expand file tree Collapse file tree 1 file changed +34
-17
lines changed
Expand file tree Collapse file tree 1 file changed +34
-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+ neds : self-built-v8-cache-warmup
79+
80+ strategy :
81+ matrix :
82+ operating-system : *self-built-v8-operating-systems
83+ php-versions :
84+ # - '8.1'
85+ - ' 8.2'
86+ - ' 8.3'
87+ - ' 8.4'
88+ v8-versions : *self-built-v8-v8-versions
89+
90+ runs-on : ${{ matrix.operating-system }}
91+
92+ steps :
93+ - name : Checkout code
94+ uses : actions/checkout@v2
95+
96+ - name : Setup PHP
97+ uses : shivammathur/setup-php@v2
98+ with :
99+ php-version : ${{ matrix.php-versions }}
100+ coverage : none
101+
102+ - name : Download cache v8 ${{ matrix.v8-versions }} build
103+ uses : actions/cache/restore@v4
104+ with :
105+ path : /opt/v8/self-built
106+ key : ${{ runner.os }}-${{ matrix.v8-versions }}-v8-build
107+
91108 - name : Build extension
92109 run : |
93110 phpize
You can’t perform that action at this time.
0 commit comments