Skip to content

Commit dd83b4f

Browse files
committed
ci: Improve the linux-cross-arm configuration
Run the tests on arm, too, and print the version of the compiler used for aarch64 (even though it's probably in practice always the same as for arm).
1 parent f15393a commit dd83b4f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,11 @@ jobs:
104104
- run: sudo apt-get update -qq
105105
- run: sudo apt-get install -qq g++-arm-linux-gnueabihf g++-aarch64-linux-gnu qemu-user
106106
- run: arm-linux-gnueabihf-g++ --version
107+
- run: aarch64-linux-gnu-g++ --version
107108
- run: make gmp-bootstrap
108109
- run: make gtest-bootstrap
109110
- run: CFLAGS=-Werror make -j$(nproc) ARCH=armv7 CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++
111+
- run: qemu-armhf -L /usr/arm-linux-gnueabihf/ ./codec_unittest
110112
- run: CFLAGS=-Werror make clean
111113
- run: CFLAGS=-Werror make -j$(nproc) ARCH=aarch64 CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++
112114
- run: qemu-aarch64 -L /usr/aarch64-linux-gnu/ ./codec_unittest

0 commit comments

Comments
 (0)