Skip to content

Commit 9c92311

Browse files
authored
add loongarch64 CI (#334)
2 parents 5ee7998 + 114284c commit 9c92311

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/ci-preemptive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ "${CROSS}" = "1" ]; then
77
export CARGO_NET_RETRY=5
88
export CARGO_NET_TIMEOUT=10
99

10-
cargo install cross
10+
cargo install cross --git https://github.com/cross-rs/cross --rev 4090beca3cfffa44371a5bba524de3a578aa46c3
1111
CARGO=cross
1212
fi
1313

.github/workflows/ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ if [ "${CROSS}" = "1" ]; then
77
export CARGO_NET_RETRY=5
88
export CARGO_NET_TIMEOUT=10
99

10-
cargo install cross
10+
cargo install cross --git https://github.com/cross-rs/cross --rev 4090beca3cfffa44371a5bba524de3a578aa46c3
1111
CARGO=cross
1212
fi
1313

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ jobs:
7272
armv7-unknown-linux-gnueabihf,
7373
riscv64gc-unknown-linux-gnu,
7474
thumbv7neon-unknown-linux-gnueabihf,
75+
loongarch64-unknown-linux-gnu,
7576
# mips64-unknown-linux-muslabi64,
76-
# loongarch64-unknown-linux-gnu,
7777
# s390x-unknown-linux-gnu,
7878

7979
x86_64-apple-darwin,
@@ -98,10 +98,10 @@ jobs:
9898
os: ubuntu-latest
9999
- target: thumbv7neon-unknown-linux-gnueabihf
100100
os: ubuntu-latest
101+
- target: loongarch64-unknown-linux-gnu
102+
os: ubuntu-latest
101103
# - target: mips64-unknown-linux-muslabi64
102104
# os: ubuntu-latest
103-
# - target: loongarch64-unknown-linux-gnu
104-
# os: ubuntu-latest
105105
# - target: s390x-unknown-linux-gnu
106106
# os: ubuntu-latest
107107

0 commit comments

Comments
 (0)