File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 2020jobs :
2121 pure-rust-build :
2222 runs-on : ubuntu-latest
23- container : debian:bookworm
23+ container : debian:stable-slim
2424 steps :
2525 - uses : actions/checkout@v4
2626 - name : Prerequisites
27- run : apt-get update && apt-get install --no-install-recommends -y ca-certificates curl gcc libc-dev # gcc is required as OS abstraction
28- - name : install Rust via Rustup
29- run : curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal;
27+ run : |
28+ apt-get update
29+ apt-get install --no-install-recommends -y ca-certificates curl gcc libc-dev # gcc is required as OS abstraction
30+ - name : Verify environment is sufficiently minimal for the test
31+ run : |
32+ set -x
33+ for pattern in cmake g++ libssl-dev make pkgconf pkg-config; do
34+ if dpkg-query --status -- "$pattern"; then
35+ exit 1
36+ fi
37+ done
38+ for cmd in cmake g++ make pkgconf pkg-config; do
39+ if command -v -- "$cmd"; then
40+ exit 1
41+ fi
42+ done
43+ - name : Install Rust via Rustup
44+ run : curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
3045 - uses : Swatinem/rust-cache@v2
3146 - run : /github/home/.cargo/bin/cargo install --debug --locked --no-default-features --features max-pure --path .
3247
You can’t perform that action at this time.
0 commit comments