Skip to content

Commit 8a70417

Browse files
committed
CI support for loongarch64-unknown-linux-gnu
skip-stable because we're not going to release this for now
1 parent b17f7d5 commit 8a70417

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

ci/actions-templates/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ system.
6262
| i686-linux-android | Yes | Two | No | No |
6363
| x86_64-linux-android | Yes | Two | No | No |
6464
| riscv64gc-unknown-linux-gnu | Yes | --- | No | No |
65+
| loongarch64-unknown-linux-gnu | Yes | Two | No | No |
6566
| ----------------------------- | ---------- | ----- | ------ | ---------- |
6667
| aarch64-apple-darwin | Yes | Two | Yes | Yes |
6768
| x86_64-apple-darwin | No | One | Yes | Yes |

ci/actions-templates/linux-builds-template.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353
- i686-linux-android # skip-pr skip-master
5454
- x86_64-linux-android # skip-pr skip-master
5555
- riscv64gc-unknown-linux-gnu # skip-pr skip-master
56+
- loongarch64-unknown-linux-gnu # skip-pr skip-master skip-stable
5657
include:
5758
- target: x86_64-unknown-linux-gnu
5859
run_tests: YES
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM rust-loongarch64-unknown-linux-gnu
2+
3+
ENV CC_loongarch64_unknown_linux_gnu=loongarch64-unknown-linux-gnu-gcc \
4+
CARGO_TARGET_LOONGARCH64_UNKNOWN_LINUX_GNU_LINKER=loongarch64-unknown-linux-gnu-gcc

ci/fetch-rust-docker.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ case "$TARGET" in
3636
x86_64-unknown-linux-gnu) image=dist-x86_64-linux ;;
3737
x86_64-unknown-netbsd) image=dist-x86_64-netbsd ;;
3838
riscv64gc-unknown-linux-gnu) image=dist-riscv64-linux ;;
39+
loongarch64-unknown-linux-gnu) image=dist-loongarch64-linux ;;
3940
*) exit ;;
4041
esac
4142

ci/run.bash

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ case "$TARGET" in
2020
mips* ) ;;
2121
riscv* ) ;;
2222
s390x* ) ;;
23+
loongarch* ) ;;
2324
aarch64-pc-windows-msvc ) ;;
2425
# default case, build with rustls enabled
2526
* ) FEATURES+=('--features' 'reqwest-rustls-tls') ;;
@@ -46,6 +47,7 @@ download_pkg_test() {
4647
mips* ) ;;
4748
riscv* ) ;;
4849
s390x* ) ;;
50+
loongarch* ) ;;
4951
aarch64-pc-windows-msvc ) ;;
5052
# default case, build with rustls enabled
5153
* ) features+=('--features' 'reqwest-rustls-tls') ;;

0 commit comments

Comments
 (0)