Remove unnecessary customized Dockerfile, RUSTFLAGS is controlled by .cargo/config.toml

This commit is contained in:
zonyitoo
2020-11-23 23:34:13 +08:00
parent 8bd54052ac
commit 81d8b338ad
11 changed files with 2 additions and 48 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -1,3 +0,0 @@
FROM rustembedded/cross:aarch64-unknown-linux-gnu
ENV RUSTFLAGS="-Ctarget-feature=+aes,+neon,+crypto"

View File

@@ -1 +0,0 @@
FROM rustembedded/cross:arm-unknown-linux-gnueabihf

View File

@@ -1 +0,0 @@
FROM rustembedded/cross:arm-unknown-linux-musleabi-0.2.1

View File

@@ -1 +0,0 @@
FROM rustembedded/cross:arm-unknown-linux-musleabihf-0.2.1

View File

@@ -1,3 +0,0 @@
FROM rustembedded/cross:mips-unknown-linux-musl-0.2.1
# ENV RUSTFLAGS=""

View File

@@ -1,3 +0,0 @@
FROM rustembedded/cross:mipsel-unknown-linux-musl-0.2.1
# ENV RUSTFLAGS=""

View File

@@ -1,3 +0,0 @@
FROM rustembedded/cross:x86_64-pc-windows-gnu
ENV RUSTFLAGS="-Ctarget-feature=+aes,+ssse3"

View File

@@ -1,3 +0,0 @@
FROM rustembedded/cross:x86_64-unknown-linux-gnu
ENV RUSTFLAGS="-Ctarget-feature=+aes,+ssse3"

View File

@@ -1,3 +0,0 @@
FROM rustembedded/cross:x86_64-unknown-linux-musl
ENV RUSTFLAGS="-Ctarget-feature=+aes,+ssse3"