You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# build the agent without GUI support (no tray icon)
57
+
- name: Build the Agent-cli
58
+
run: task build-cli
59
+
if: matrix.operating-system == 'ubuntu-latest'
60
+
61
+
# the manifest is required by windows GUI apps, otherwise the binary will crash with: "Unable to create main window: TTM_ADDTOOL failed" (for reference https://github.com/lxn/walk/issues/28)
62
+
# rsrc will produce *.syso files that should get automatically recognized by go build command and linked into an executable.
63
+
- name: Embed manifest in win binary
64
+
run: |
65
+
go get github.com/akavel/rsrc
66
+
rsrc -arch 386 -manifest manifest.xml
67
+
if: matrix.operating-system == 'windows-latest'
68
+
69
+
# building the agent for win requires a different task because of an extra flag
52
70
- name: Build the Agent for win32
71
+
env:
72
+
GOARCH: 386# 32bit architecture (for support)
73
+
GO386: 387# support old instruction sets without MMX (used in the Pentium 4) (will be deprecated in GO > 1.15 https://golang.org/doc/go1.15)
53
74
run: task build-win32
54
75
if: matrix.operating-system == 'windows-latest'
55
76
56
-
- name: Run unit tests
57
-
run: task test-unit
58
-
77
+
# config.ini is required by the executable when it's run
0 commit comments