@@ -19,12 +19,20 @@ jobs:
19
19
env :
20
20
PCRE_VERSION : " 8.45"
21
21
22
- outputs :
23
- build-deps-cache-key : ${{ steps.build-deps-cache-key.outputs.value }}
24
22
strategy :
25
23
fail-fast : true
26
24
matrix :
27
- os : [ubuntu-22.04, macos-12-xl, flyci-macos-large-latest-m1]
25
+ include :
26
+ - os : ubuntu-22.04
27
+ platform_id : manylinux_x86_64
28
+ - os : ubuntu-22.04
29
+ platform_id : musllinux_x86_64
30
+ - os : ubicloud-standard-2-arm
31
+ platform_id : manylinux_aarch64
32
+ - os : macos-12-xl
33
+ platform_id : macosx_x86_64
34
+ - os : flyci-macos-large-latest-m1
35
+ platform_id : macosx_arm64
28
36
29
37
steps :
30
38
- name : Checkout python-hyperscan
43
51
if : contains(matrix.os, 'macos')
44
52
uses : actions/cache/restore@v4
45
53
with :
46
- key : build-deps-${{ runner .os }}-${{ matrix.os }}
54
+ key : build-deps-${{ matrix .os }}-${{ matrix.platform_id }}
47
55
path : |
48
56
/opt/vectorscan
49
57
/opt/pcre
62
70
/opt/vectorscan
63
71
/opt/pcre
64
72
65
- - name : Capture build dependencies cache key
66
- id : build-deps-cache-key
67
- run : |
68
- echo "value=${{ contains(matrix.os, 'macos') && steps.build-deps-macos.outputs.cache-primary-key || '' }}" >> $GITHUB_OUTPUT
69
-
70
73
build_wheels :
71
74
name : ${{ matrix.python_id }}-${{ matrix.platform_id }} wheel
72
75
runs-on : ${{ matrix.os }}
@@ -256,7 +259,7 @@ jobs:
256
259
if : contains(matrix.os, 'macos')
257
260
uses : actions/cache/restore@v4
258
261
with :
259
- key : ${{ needs.build_environment.outputs.build-deps-cache-key }}
262
+ key : build-deps- ${{ matrix.os }}-${{ matrix.platform_id }}
260
263
path : |
261
264
/opt/vectorscan
262
265
/opt/pcre
0 commit comments