mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
Remove unnecessary customized Dockerfile, RUSTFLAGS is controlled by .cargo/config.toml
This commit is contained in:
1
.github/workflows/build-release.yml
vendored
1
.github/workflows/build-release.yml
vendored
@@ -33,7 +33,6 @@ jobs:
|
||||
timeout-minutes: 120
|
||||
run: |
|
||||
cd build
|
||||
docker build -t shadowsocks-rust:${{ matrix.target }} -f Dockerfile.${{ matrix.target }} .
|
||||
./build-release -t ${{ matrix.target }}
|
||||
|
||||
- name: Upload Github Assets
|
||||
|
||||
28
Cross.toml
28
Cross.toml
@@ -1,29 +1,5 @@
|
||||
[build.env]
|
||||
passthrough = [
|
||||
"HTTP_PROXY",
|
||||
"HTTPS_PROXY",
|
||||
]
|
||||
|
||||
[target.x86_64-unknown-linux-musl]
|
||||
image = "shadowsocks-rust:x86_64-unknown-linux-musl"
|
||||
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
image = "shadowsocks-rust:x86_64-unknown-linux-gnu"
|
||||
|
||||
[target.x86_64-pc-windows-gnu]
|
||||
image = "shadowsocks-rust:x86_64-pc-windows-gnu"
|
||||
|
||||
[target.arm-unknown-linux-gnueabihf]
|
||||
image = "shadowsocks-rust:arm-unknown-linux-gnueabihf"
|
||||
|
||||
[target.arm-unknown-linux-musleabi]
|
||||
image = "shadowsocks-rust:arm-unknown-linux-musleabi"
|
||||
|
||||
[target.aarch64-unknown-linux-gnu]
|
||||
image = "shadowsocks-rust:aarch64-unknown-linux-gnu"
|
||||
|
||||
[target.mips-unknown-linux-musl]
|
||||
image = "shadowsocks-rust:mips-unknown-linux-musl"
|
||||
image = "rustembedded/cross:mips-unknown-linux-musl-0.2.1"
|
||||
|
||||
[target.mipsel-unknown-linux-musl]
|
||||
image = "shadowsocks-rust:mipsel-unknown-linux-musl"
|
||||
image = "rustembedded/cross:mipsel-unknown-linux-musl-0.2.1"
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM rustembedded/cross:aarch64-unknown-linux-gnu
|
||||
|
||||
ENV RUSTFLAGS="-Ctarget-feature=+aes,+neon,+crypto"
|
||||
@@ -1 +0,0 @@
|
||||
FROM rustembedded/cross:arm-unknown-linux-gnueabihf
|
||||
@@ -1 +0,0 @@
|
||||
FROM rustembedded/cross:arm-unknown-linux-musleabi-0.2.1
|
||||
@@ -1 +0,0 @@
|
||||
FROM rustembedded/cross:arm-unknown-linux-musleabihf-0.2.1
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM rustembedded/cross:mips-unknown-linux-musl-0.2.1
|
||||
|
||||
# ENV RUSTFLAGS=""
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM rustembedded/cross:mipsel-unknown-linux-musl-0.2.1
|
||||
|
||||
# ENV RUSTFLAGS=""
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM rustembedded/cross:x86_64-pc-windows-gnu
|
||||
|
||||
ENV RUSTFLAGS="-Ctarget-feature=+aes,+ssse3"
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM rustembedded/cross:x86_64-unknown-linux-gnu
|
||||
|
||||
ENV RUSTFLAGS="-Ctarget-feature=+aes,+ssse3"
|
||||
@@ -1,3 +0,0 @@
|
||||
FROM rustembedded/cross:x86_64-unknown-linux-musl
|
||||
|
||||
ENV RUSTFLAGS="-Ctarget-feature=+aes,+ssse3"
|
||||
Reference in New Issue
Block a user