mirror of
https://github.com/Skallwar/suckit.git
synced 2026-09-10 07:16:19 -04:00
ci: Add riscv64 build
This commit is contained in:
parent
1f5e53f5eb
commit
1b47539c71
9
.github/env.sh
vendored
9
.github/env.sh
vendored
|
|
@ -23,6 +23,15 @@ case "$1" in
|
|||
target_linker="aarch64-linux-gnu-gcc"
|
||||
target_cc="aarch64-linux-gnu-gcc"
|
||||
|
||||
;;
|
||||
riscv64*)
|
||||
arch="riscv64"
|
||||
sysroot="/usr/lib/riscv64-linux-gnu/"
|
||||
ubuntu_cross_pkg_list="gcc-riscv64-linux-gnu"
|
||||
# YES they are the same but otherwise it fails
|
||||
target_linker="riscv64-linux-gnu-gcc"
|
||||
target_cc="riscv64-linux-gnu-gcc"
|
||||
|
||||
;;
|
||||
x86_64*)
|
||||
target_linker="gcc"
|
||||
|
|
|
|||
1
.github/workflows/build_and_test.yml
vendored
1
.github/workflows/build_and_test.yml
vendored
|
|
@ -71,6 +71,7 @@ jobs:
|
|||
target:
|
||||
- x86_64-unknown-linux-gnu
|
||||
- aarch64-unknown-linux-gnu
|
||||
- riscv64gc-unknown-linux-gnu
|
||||
rust:
|
||||
- stable
|
||||
- 1.51.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue