From 78182f230c669164681afb1fc7fb8fc1483a54cf Mon Sep 17 00:00:00 2001 From: "Michael R. Crusoe" Date: Mon, 9 Sep 2024 16:11:31 +0200 Subject: [PATCH] gh-actions: add CI testing for gcc 11 aarch64/arm64 --- .github/workflows/ci.yml | 5 +++++ docker/cross-files/aarch64-gcc-11-ccache.cross | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 docker/cross-files/aarch64-gcc-11-ccache.cross diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e15bbbcac..63568322e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -349,6 +349,11 @@ jobs: fail-fast: false matrix: include: + - version: 11 + cross: aarch64 + arch_gnu: aarch64 + arch_deb: arm64 + distro: ubuntu-22.04 - version: 13 cross: armel arch_gnu_abi: eabi diff --git a/docker/cross-files/aarch64-gcc-11-ccache.cross b/docker/cross-files/aarch64-gcc-11-ccache.cross new file mode 100644 index 000000000..50fe00f89 --- /dev/null +++ b/docker/cross-files/aarch64-gcc-11-ccache.cross @@ -0,0 +1,18 @@ +[binaries] +c = ['ccache', 'aarch64-linux-gnu-gcc-11'] +cpp = ['ccache', 'aarch64-linux-gnu-g++-11'] +ar = 'aarch64-linux-gnu-ar' +strip = 'aarch64-linux-gnu-strip' +objcopy = 'aarch64-linux-gnu-objcopy' +ld = 'aarch64-linux-gnu-ld' +exe_wrapper = ['qemu-aarch64-static', '-L', '/usr/aarch64-linux-gnu'] + +[properties] +c_args = ['-march=armv8-a+simd+crypto+crc', '-Wextra', '-Werror'] +cpp_args = ['-march=armv8-a+simd+crypto+crc', '-Wextra', '-Werror'] + +[host_machine] +system = 'linux' +cpu_family = 'aarch64' +cpu = 'arm64' +endian = 'little'