File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 69
69
include :
70
70
- os : windows-2019
71
71
arch : -386
72
+ - os : macos-12
73
+ arch : -arm64
72
74
73
75
defaults :
74
76
run :
@@ -119,13 +121,22 @@ jobs:
119
121
run : task go:build-win # GOARCH=amd64 by default on the runners
120
122
if : runner.os == 'Windows' && matrix.arch == '-amd64'
121
123
122
- - name : Build the Agent for macos
124
+ - name : Build the Agent for macos amd 64
123
125
env :
124
126
MACOSX_DEPLOYMENT_TARGET : 10.15 # minimum supported version for mac
125
127
CGO_CFLAGS : -mmacosx-version-min=10.15
126
128
CGO_LDFLAGS : -mmacosx-version-min=10.15
127
129
run : task go:build
128
- if : runner.os == 'macOS'
130
+ if : runner.os == 'macOS' && matrix.arch == '-amd64'
131
+
132
+ - name : Build the Agent for macos arm64
133
+ env :
134
+ MACOSX_DEPLOYMENT_TARGET : 10.15 # minimum supported version for mac
135
+ CGO_CFLAGS : -mmacosx-version-min=10.15
136
+ CGO_LDFLAGS : -mmacosx-version-min=10.15
137
+ GOARCH : arm64
138
+ run : task go:build
139
+ if : runner.os == 'macOS' && matrix.arch == '-arm64'
129
140
130
141
- name : Upload artifacts
131
142
uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments