File tree 1 file changed +10
-4
lines changed 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 10
10
build :
11
11
strategy :
12
12
matrix :
13
- operating-system : [ubuntu-18.04, windows-2019, macos-10.15]
13
+ include :
14
+ - operating-system : ubuntu-18.04
15
+ - operating-system : windows-2019
16
+ arch : 386
17
+ - operating-system : windows-2019
18
+ arch : amd64
19
+ - operating-system : macos-10.15
14
20
15
21
runs-on : ${{ matrix.operating-system }}
16
22
env :
@@ -75,11 +81,11 @@ jobs:
75
81
GOARCH : 386 # 32bit architecture (for support)
76
82
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)
77
83
run : task build-win
78
- if : matrix.operating-system == 'windows-2019'
84
+ if : matrix.operating-system == 'windows-2019' && matrix.arch == '386'
79
85
80
86
- name : Build the Agent for win64
81
87
run : task build-win # GOARCH=amd64 by default on the runners
82
- if : matrix.operating-system == 'windows-2019'
88
+ if : matrix.operating-system == 'windows-2019' && matrix.arch == 'amd64'
83
89
84
90
- name : Build the Agent for macos
85
91
env :
93
99
- name : Upload artifacts
94
100
uses : actions/upload-artifact@v2
95
101
with :
96
- name : arduino-create-agent-${{ matrix.operating-system }}
102
+ name : arduino-create-agent-${{ matrix.operating-system }}${{ matrix.arch }}
97
103
path : |
98
104
arduino-create-agent*
99
105
config.ini
You can’t perform that action at this time.
0 commit comments