Skip to content

Commit

Permalink
Add gcc arm 32bit armv8-a test in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
Cuda-Chen authored and mr-c committed Mar 22, 2024
1 parent 70748cd commit 72bde75
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,13 @@ jobs:
arch_gnu: aarch64
arch_deb: arm64
distro: ubuntu-22.04
- extra: -32bit
version: 12
cross: armv8
arch_gnu: arm
arch_gnu_abi: eabihf
arch_deb: armhf
distro: ubuntu-22.04
- version: 12
cross: riscv64
arch_gnu: riscv64
Expand Down
18 changes: 18 additions & 0 deletions docker/cross-files/armv8-gcc-12-32bit-ccache.cross
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
[binaries]
c = 'arm-linux-gnueabihf-gcc-12'
cpp = 'arm-linux-gnueabihf-g++-12'
ar = 'arm-linux-gnueabihf-ar'
strip = 'arm-linux-gnueabihf-strip'
objcopy = 'arm-linux-gnueabihf-objcopy'
ld = 'arm-linux-gnueabihf-ld'
exe_wrapper = ['qemu-arm-static', '-L', '/usr/arm-linux-gnueabihf']

[properties]
c_args = ['-mcpu=cortex-a32', '-mfpu=crypto-neon-fp-armv8', '-Wextra', '-Werror']
cpp_args = ['-mcpu=cortex-a32', '-mfpu=crypto-neon-fp-armv8', '-Wextra', '-Werror']

[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'armv8-a'
endian = 'little'

0 comments on commit 72bde75

Please sign in to comment.