~repos /rust-embed
git clone https://pyrossh.dev/repos/rust-embed.git
rust macro which loads files into the rust binary at compile time during release and loads the file from the fs during dev.
54216544
—
pyrossh 7 months ago
remove workflows
- .github/workflows/test.yml +0 -52
.github/workflows/test.yml
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
name: Test
|
|
2
|
-
on: [push, pull_request]
|
|
3
|
-
jobs:
|
|
4
|
-
format:
|
|
5
|
-
runs-on: ubuntu-latest
|
|
6
|
-
steps:
|
|
7
|
-
- uses: actions-rs/toolchain@v1
|
|
8
|
-
with:
|
|
9
|
-
toolchain: stable
|
|
10
|
-
- uses: actions/checkout@master
|
|
11
|
-
- run: rustup component add rustfmt
|
|
12
|
-
- run: cargo fmt --all -- --check
|
|
13
|
-
test:
|
|
14
|
-
runs-on: ${{ matrix.os }}
|
|
15
|
-
continue-on-error: ${{ matrix.experimental }}
|
|
16
|
-
strategy:
|
|
17
|
-
fail-fast: false
|
|
18
|
-
matrix:
|
|
19
|
-
os: [ubuntu-latest, windows-latest, macOS-latest]
|
|
20
|
-
rust: [stable]
|
|
21
|
-
experimental: [false]
|
|
22
|
-
include:
|
|
23
|
-
- rust: nightly
|
|
24
|
-
os: ubuntu-latest
|
|
25
|
-
experimental: true
|
|
26
|
-
steps:
|
|
27
|
-
- uses: actions-rs/toolchain@v1
|
|
28
|
-
with:
|
|
29
|
-
toolchain: ${{ matrix.rust }}
|
|
30
|
-
- uses: actions/checkout@master
|
|
31
|
-
- name: Run tests
|
|
32
|
-
run: |
|
|
33
|
-
cargo test --test lib
|
|
34
|
-
cargo test --test lib --features "debug-embed"
|
|
35
|
-
cargo test --test lib --features "compression" --release
|
|
36
|
-
cargo test --test mime_guess --features "mime-guess"
|
|
37
|
-
cargo test --test mime_guess --features "mime-guess" --release
|
|
38
|
-
cargo test --test interpolated_path --features "interpolate-folder-path"
|
|
39
|
-
cargo test --test interpolated_path --features "interpolate-folder-path" --release
|
|
40
|
-
cargo test --test custom_crate_path
|
|
41
|
-
cargo test --test custom_crate_path --release
|
|
42
|
-
cargo build --example basic
|
|
43
|
-
cargo build --example rocket --features rocket
|
|
44
|
-
cargo build --example actix --features actix
|
|
45
|
-
cargo build --example axum --features axum-ex
|
|
46
|
-
cargo build --example warp --features warp-ex
|
|
47
|
-
cargo test --test lib --release
|
|
48
|
-
cargo build --example basic --release
|
|
49
|
-
cargo build --example rocket --features rocket --release
|
|
50
|
-
cargo build --example actix --features actix --release
|
|
51
|
-
cargo build --example axum --features axum-ex --release
|
|
52
|
-
cargo build --example warp --features warp-ex --release
|