This commit is contained in:
parent
bf9b3f501c
commit
a3994f0218
@ -14,8 +14,21 @@ jobs:
|
||||
with:
|
||||
submodules: recursive
|
||||
- uses: https://gitea.joylink.club/actions/rust-cache@v2
|
||||
- name: Install musl-tools
|
||||
run: apt-get update && apt-get install -y musl-tools
|
||||
- name: build Release
|
||||
run: |
|
||||
echo '[source.crates-io]' > ~/.cargo/config.toml
|
||||
echo 'replace-with = "rsproxy-sparse"' >> ~/.cargo/config.toml
|
||||
echo '[source.rsproxy]' >> ~/.cargo/config.toml
|
||||
echo 'registry = "https://rsproxy.cn/crates.io-index"' >> ~/.cargo/config.toml
|
||||
echo '[source.rsproxy-sparse]' >> ~/.cargo/config.toml
|
||||
echo 'registry = "sparse+https://rsproxy.cn/index/"' >> ~/.cargo/config.toml
|
||||
echo '[registries.rsproxy]' >> ~/.cargo/config.toml
|
||||
echo 'index = "https://rsproxy.cn/crates.io-index"' >> ~/.cargo/config.toml
|
||||
echo '[net]' >> ~/.cargo/config.toml
|
||||
echo 'git-fetch-with-cli = true' >> ~/.cargo/config.toml
|
||||
cat $HOME/.cargo/config.toml
|
||||
. ~/.bashrc
|
||||
echo $PATH
|
||||
rustup target add x86_64-unknown-linux-musl
|
||||
|
Loading…
Reference in New Issue
Block a user