Skip to content

Commit 3639930

Browse files
committed
update ci
1 parent b42448a commit 3639930

4 files changed

Lines changed: 3 additions & 51 deletions

File tree

.cross/Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,10 @@ ARG DEBIAN_FRONTEND=noninteractive
33

44
FROM $CROSS_BASE_IMAGE
55

6-
COPY .github/sccache.sh /
7-
86
RUN apt-get update && \
97
apt-get install -y --no-install-recommends clang llvm && \
10-
rm -rf /var/lib/apt/lists/* && \
11-
chmod +x /sccache.sh && \
12-
/sccache.sh "x86_64-unknown-linux-musl"
8+
rm -rf /var/lib/apt/lists/*
139

1410
ENV CC=clang \
1511
CXX=clang++ \
16-
AR=llvm-ar \
17-
RUSTC_WRAPPER="/usr/bin/sccache" \
18-
SCCACHE_DIR="/tmp/sccache"
12+
AR=llvm-ar

.github/sccache.sh

Lines changed: 0 additions & 41 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ env:
2424
jobs:
2525
build:
2626
name: Build
27-
uses: rust-proxy/workflows/.github/workflows/rust-build.yml@v1.0.12
27+
uses: rust-proxy/workflows/.github/workflows/rust-build.yml@main
2828
with:
2929
rust-toolchain: "stable"
3030
packages: "wind,tuic-server,tuic-client"

Cross.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
[build.env]
22
passthrough = ["RUSTFLAGS", "RUSTC_BOOTSTRAP"]
3-
volumes = ["/tmp=/tmp"]
43

54
# Use clang as the C/C++ compiler to avoid the aws-lc-sys GCC memcmp bug
65
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95189

0 commit comments

Comments
 (0)