File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -88,22 +88,30 @@ jobs:
88
88
- test-linux
89
89
strategy :
90
90
matrix :
91
- target : [ amd64, arm64, arm ]
91
+ target : [ i386, amd64, arm64, arm ]
92
92
include :
93
+ - target : i386
94
+ CGO_ENABLED : 1
95
+ GOARCH : 386
96
+ CC : gcc
97
+ CGO_FLAGS : -m32
93
98
- target : amd64
94
99
CGO_ENABLED : 1
95
100
GOARCH : amd64
96
101
CC : gcc
102
+ CGO_FLAGS : " "
97
103
- target : arm64
98
104
CGO_ENABLED : 1
99
105
GOARCH : arm64
100
106
CC : /usr/local/gcc-linaro-4.8-2015.06-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc
107
+ CGO_FLAGS : " "
101
108
toolchain_source : https://releases.linaro.org/archive/15.06/components/toolchain/binaries/4.8/aarch64-linux-gnu/gcc-linaro-4.8-2015.06-x86_64_aarch64-linux-gnu.tar.xz
102
109
toolchain_extract : sudo tar -xf gcc-linaro-4.8-2015.06-x86_64_aarch64-linux-gnu.tar.xz -C /usr/local
103
110
- target : arm
104
111
CGO_ENABLED : 1
105
112
GOARCH : arm
106
113
CC : /usr/local/gcc-linaro-4.8-2015.06-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-gcc
114
+ CGO_FLAGS : " "
107
115
toolchain_source : https://releases.linaro.org/archive/15.06/components/toolchain/binaries/4.8/arm-linux-gnueabi/gcc-linaro-4.8-2015.06-x86_64_arm-linux-gnueabi.tar.xz
108
116
toolchain_extract : sudo tar -xf gcc-linaro-4.8-2015.06-x86_64_arm-linux-gnueabi.tar.xz -C /usr/local
109
117
env :
@@ -122,6 +130,9 @@ jobs:
122
130
with :
123
131
name : grpc
124
132
path : pkg/a2l
133
+ - if : ${{ matrix.GOARCH == '386' }}
134
+ run : |
135
+ sudo apt-get install libc6-dev-i386
125
136
- if : ${{ matrix.CC != 'gcc' }}
126
137
run : |
127
138
wget ${{ matrix.toolchain_source }}
You can’t perform that action at this time.
0 commit comments