mirror of
https://github.com/DefectingCat/rua-list
synced 2025-07-15 16:51:31 +00:00
Remove todos
Update .gitlab-ci.yml file Update .gitlab-ci.yml file Update .gitlab-ci.yml file
This commit is contained in:
@ -4,29 +4,20 @@ stages:
|
||||
|
||||
build:linux-gnu-amd64:
|
||||
stage: build
|
||||
image: rust
|
||||
image: rust:latest
|
||||
script:
|
||||
- rustup target add x86_64-unknown-linux-musl
|
||||
- rustup target add x86_64-unknown-linux-gnu
|
||||
- rustup target add x86_64-pc-windows-gnu
|
||||
- cargo build --release
|
||||
artifacts:
|
||||
paths:
|
||||
- target/release/rua-list
|
||||
|
||||
build:linux-musl-amd64:
|
||||
stage: build
|
||||
image: sseemayer/rust-musl-builder-mingw:latest
|
||||
script:
|
||||
- cargo build --target=x86_64-unknown-linux-musl --release
|
||||
artifacts:
|
||||
paths:
|
||||
- target/release/x86_64-unknown-linux-musl/rua-list
|
||||
|
||||
build:windows-amd64:
|
||||
stage: build
|
||||
image: sseemayer/rust-musl-builder-mingw:latest
|
||||
image: rust:latest
|
||||
script:
|
||||
- apt update -y && apt upgrade -y apt install -y g++-mingw-w64-x86-64
|
||||
- rustup target add x86_64-pc-windows-gnu
|
||||
- rustup toolchain install stable-x86_64-pc-windows-gnu
|
||||
- cargo build --target=x86_64-pc-windows-gnu --release
|
||||
artifacts:
|
||||
paths:
|
||||
@ -46,7 +37,7 @@ pages:
|
||||
image: alpine
|
||||
dependencies:
|
||||
- build:linux-gnu-amd64
|
||||
- build:linux-musl-amd64
|
||||
# - build:linux-musl-amd64
|
||||
- rustdoc
|
||||
script:
|
||||
- mkdir -p public
|
||||
|
@ -96,7 +96,6 @@ pub async fn headers_parser(port: usize) {
|
||||
}
|
||||
};
|
||||
let header: Vec<_> = header.split("\r\n").collect();
|
||||
dbg!(&header);
|
||||
let first_line = header.first().unwrap();
|
||||
let header = &header[1..header.len() - 2];
|
||||
|
||||
|
Reference in New Issue
Block a user