File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,13 @@ jobs:
74
74
- os : windows-2022
75
75
cpu : x64_x86_windows
76
76
bazel_target : dist_zip
77
- # disabling Mac OS releases for now since they are working through existing build process
78
- # - os: macos-11
79
- # cpu: darwin_arm64
80
- # - os: macos-11
81
- # cpu: darwin_x86_64
77
+ - os : macos-14
78
+ cpu : darwin_arm64
79
+ bazel_target : dist_zip
80
+ - os : macos-13
81
+ cpu : darwin_x86_64
82
+ bazel_target : dist_zip
83
+
82
84
83
85
steps :
84
86
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -21,12 +21,24 @@ config_setting(
21
21
values = {"cpu" : "k8" },
22
22
)
23
23
24
+ config_setting (
25
+ name = "darwin_arm64" ,
26
+ values = {"cpu" : "darwin_arm64" },
27
+ )
28
+
29
+ config_setting (
30
+ name = "darwin_x86_64" ,
31
+ values = {"cpu" : "darwin_x86_64" },
32
+ )
33
+
24
34
package_naming (
25
35
name = "protobuf_javascript_pkg_naming" ,
26
36
platform = select ({
27
37
":k8" : "linux-x86_64" , # currently the only supported build type in Github Actions
28
38
":x64_x86_windows" : "win32" ,
29
39
":x64_windows" : "win64" ,
40
+ ":darwin_arm64" : "osx-aarch_64" ,
41
+ ":darwin_x86_64" : "osx-x86_64" ,
30
42
"//conditions:default" : "" # continues with current behavior when no --cpu is specified allowing existing internal builds to function
31
43
})
32
44
)
You can’t perform that action at this time.
0 commit comments