Skip to content

Commit b6b6766

Browse files
authored
Add an architecture with libc::c_char == u8 build to CI (RustPython#4704)
* Add compilation check for c_char is u8 arch * install gcc-aarch64-linux-gnu for check
1 parent b358610 commit b6b6766

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,15 @@ jobs:
192192
- name: Check compilation for android
193193
run: cargo check --target aarch64-linux-android
194194

195+
- uses: dtolnay/rust-toolchain@stable
196+
with:
197+
target: aarch64-unknown-linux-gnu
198+
199+
- name: Install gcc-aarch64-linux-gnu
200+
run: sudo apt install gcc-aarch64-linux-gnu
201+
- name: Check compilation for aarch64 linux gnu
202+
run: cargo check --target aarch64-unknown-linux-gnu
203+
195204
- uses: dtolnay/rust-toolchain@stable
196205
with:
197206
target: i686-unknown-linux-musl

0 commit comments

Comments
 (0)