From b6b676600096ff60923bd2073c00ae3dc1024040 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 17 Mar 2023 14:29:56 -0400 Subject: [PATCH] Add an architecture with libc::c_char == u8 build to CI (#4704) * Add compilation check for c_char is u8 arch * install gcc-aarch64-linux-gnu for check --- .github/workflows/ci.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0331c11d8..7e1269bd1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -192,6 +192,15 @@ jobs: - name: Check compilation for android run: cargo check --target aarch64-linux-android + - uses: dtolnay/rust-toolchain@stable + with: + target: aarch64-unknown-linux-gnu + + - name: Install gcc-aarch64-linux-gnu + run: sudo apt install gcc-aarch64-linux-gnu + - name: Check compilation for aarch64 linux gnu + run: cargo check --target aarch64-unknown-linux-gnu + - uses: dtolnay/rust-toolchain@stable with: target: i686-unknown-linux-musl