File tree 2 files changed +10
-5
lines changed 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 7
7
test-matrix :
8
8
strategy :
9
9
matrix :
10
- operating-system : [ubuntu-18.04, windows-2019, macos-10.15]
10
+ operating-system : [ubuntu-18.04, windows-2019, windows-2019, macos-10.15]
11
+ include :
12
+ - operating-system : windows-2019
13
+ arch : 386
14
+ - operating-system : windows-2019
15
+ arch : amd64
11
16
12
17
runs-on : ${{ matrix.operating-system }}
13
18
@@ -70,11 +75,11 @@ jobs:
70
75
GOARCH : 386 # 32bit architecture (for support)
71
76
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)
72
77
run : task build-win
73
- if : matrix.operating-system == 'windows-2019'
78
+ if : matrix.operating-system == 'windows-2019' || matrix.arch == '386'
74
79
75
80
- name : Build the Agent for win64
76
81
run : task build-win # GOARCH=amd64 by default on the runners
77
- if : matrix.operating-system == 'windows-2019'
82
+ if : matrix.operating-system == 'windows-2019' || matrix.arch == 'amd64'
78
83
79
84
- name : Build the Agent for macos
80
85
env :
88
93
- name : Upload artifacts
89
94
uses : actions/upload-artifact@v2
90
95
with :
91
- name : arduino-create-agent-${{ matrix.operating-system }}
96
+ name : arduino-create-agent-${{ matrix.operating-system }}${{ matrix.arch }}
92
97
path : |
93
98
arduino-create-agent*
94
99
config.ini
Original file line number Diff line number Diff line change 24
24
- rsrc -arch {{.GOARCH}} -manifest manifest.xml # GOARCH shoud be either amd64 or 386
25
25
- task : build
26
26
vars :
27
- APP_NAME : arduino-create-agent_{{.GOARCH}} .exe
27
+ APP_NAME : arduino-create-agent .exe
28
28
WIN_FLAGS : -H=windowsgui
29
29
- rm *.syso # rm file to avoid compilation problems on other platforms
30
30
You can’t perform that action at this time.
0 commit comments