File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,13 @@ jobs:
89
89
# Install libraries needed for QEMU to properly execute dynamically
90
90
# linked binaries for the target architectures.
91
91
if [ "${{ matrix.qemu_architecture }}" == "aarch64" ]; then
92
- sudo apt-get install -y libc6-dev-arm64-cross
92
+ sudo apt-get install -y gcc-aarch64-linux-gnu libc6-dev-arm64-cross
93
93
elif [ "${{ matrix.qemu_architecture }}" == "arm" ]; then
94
- sudo apt-get install -y libc6-dev-armhf-cross
94
+ sudo apt-get install -y gcc-arm-linux-gnueabihf libc6-dev-armhf-cross
95
95
fi
96
96
fi
97
97
98
- - name : Build binary
98
+ - name : Build binaryc
99
99
run : |
100
100
set -ex
101
101
cd source/rust/autonomy_command
@@ -125,7 +125,13 @@ jobs:
125
125
chmod +x "$BINARY_PATH"
126
126
127
127
if [ "${{ matrix.test_method }}" == "qemu" ]; then
128
- qemu-${{ matrix.qemu_architecture }}-static "$BINARY_PATH" --version
128
+ if [ "${{ matrix.qemu_architecture }}" == "aarch64" ]; then
129
+ QEMU_LD_PREFIX=/usr/aarch64-linux-gnu qemu-${{ matrix.qemu_architecture }}-static "$BINARY_PATH" --version
130
+ elif [ "${{ matrix.qemu_architecture }}" == "arm" ]; then
131
+ QEMU_LD_PREFIX=/usr/arm-linux-gnueabihf qemu-${{ matrix.qemu_architecture }}-static "$BINARY_PATH" --version
132
+ else
133
+ qemu-${{ matrix.qemu_architecture }}-static "$BINARY_PATH" --version
134
+ fi
129
135
else
130
136
"$BINARY_PATH" --version
131
137
fi
You can’t perform that action at this time.
0 commit comments