Skip to content

Commit

Permalink
ci: Improve the linux-cross-arm configuration
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
mstorsjo committed Nov 24, 2024
1 parent f15393a commit dd83b4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,11 @@ jobs:
- run: sudo apt-get update -qq
- run: sudo apt-get install -qq g++-arm-linux-gnueabihf g++-aarch64-linux-gnu qemu-user
- run: arm-linux-gnueabihf-g++ --version
- run: aarch64-linux-gnu-g++ --version
- run: make gmp-bootstrap
- run: make gtest-bootstrap
- run: CFLAGS=-Werror make -j$(nproc) ARCH=armv7 CC=arm-linux-gnueabihf-gcc CXX=arm-linux-gnueabihf-g++
- run: qemu-armhf -L /usr/arm-linux-gnueabihf/ ./codec_unittest
- run: CFLAGS=-Werror make clean
- run: CFLAGS=-Werror make -j$(nproc) ARCH=aarch64 CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++
- run: qemu-aarch64 -L /usr/aarch64-linux-gnu/ ./codec_unittest
Expand Down

0 comments on commit dd83b4f

Please sign in to comment.