File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change 6969 include :
7070 - os : windows-2019
7171 arch : -386
72+ - os : macos-12
73+ arch : -arm64
7274
7375 defaults :
7476 run :
@@ -119,13 +121,22 @@ jobs:
119121 run : task go:build-win # GOARCH=amd64 by default on the runners
120122 if : runner.os == 'Windows' && matrix.arch == '-amd64'
121123
122- - name : Build the Agent for macos
124+ - name : Build the Agent for macos amd 64
123125 env :
124126 MACOSX_DEPLOYMENT_TARGET : 10.15 # minimum supported version for mac
125127 CGO_CFLAGS : -mmacosx-version-min=10.15
126128 CGO_LDFLAGS : -mmacosx-version-min=10.15
127129 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'
129140
130141 - name : Upload artifacts
131142 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments