File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change 3232 strategy :
3333 fail-fast : true
3434 matrix :
35- os : [ubuntu-24.04, macos-13]
35+ os : [ubuntu-24.04, macos-13, macos-14 ]
3636 python-version : ['3.10', '3.11', '3.12']
37-
38-
3937 steps :
4038 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4139 - name : Set up Python
Original file line number Diff line number Diff line change 3131 strategy :
3232 fail-fast : true
3333 matrix :
34- os : [ubuntu-24.04, macos-13]
34+ os : [ubuntu-24.04, macos-13, macos-14 ]
3535 python-version : ['3.10', '3.11', '3.12']
3636
3737 steps :
Original file line number Diff line number Diff line change @@ -26,7 +26,8 @@ py_wheel(
2626 ],
2727 python_tag = "$(TARGET_VERSION)" ,
2828 platform = select ({
29- "@platforms//os:macos" : "macosx_10_13_x86_64" ,
29+ ":macos_arm" : "macosx_11_0_arm64" ,
30+ ":macos_x86" : "macosx_10_13_x86_64" ,
3031 "@platforms//os:windows" : "win32" ,
3132 "@platforms//os:linux" : "manylinux_2_17_x86_64.manylinux2014_x86_64" ,
3233 }),
@@ -37,3 +38,19 @@ py_wheel(
3738 author = "The Tesseract Decoder Authors." ,
3839 homepage = "https://github.com/quantumlib/tesseract-decoder" ,
3940)
41+
42+ config_setting (
43+ name = "macos_arm" ,
44+ constraint_values = [
45+ "@platforms//os:macos" ,
46+ "@platforms//cpu:arm64" ,
47+ ],
48+ )
49+
50+ config_setting (
51+ name = "macos_x86" ,
52+ constraint_values = [
53+ "@platforms//os:macos" ,
54+ "@platforms//cpu:x86_64" ,
55+ ],
56+ )
You can’t perform that action at this time.
0 commit comments