From 9ec36ebe6c11480991ca64baa28aaa26b369580f Mon Sep 17 00:00:00 2001 From: no92 Date: Mon, 14 Aug 2023 22:32:01 +0200 Subject: [PATCH] ci: enable x86 tests --- .github/workflows/ci.yml | 2 +- ci/linux-x86.cross-file | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 ci/linux-x86.cross-file diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c31659b9dd..0dbfe1760e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,7 +6,7 @@ jobs: build-mlibc: strategy: matrix: - arch: [x86_64, riscv64, aarch64] + arch: [x86_64, riscv64, aarch64, x86] builds: [mlibc, mlibc-static, mlibc-shared, mlibc-ansi-only, mlibc-headers-only] name: Build mlibc runs-on: ubuntu-22.04 diff --git a/ci/linux-x86.cross-file b/ci/linux-x86.cross-file new file mode 100644 index 0000000000..edad98556a --- /dev/null +++ b/ci/linux-x86.cross-file @@ -0,0 +1,10 @@ +[binaries] +c = 'i686-linux-mlibc-gcc' +cpp = 'i686-linux-mlibc-g++' +exe_wrapper = 'qemu-i386' + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'i386' +endian = 'little'