File tree 1 file changed +19
-4
lines changed
1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 20
20
jobs :
21
21
pure-rust-build :
22
22
runs-on : ubuntu-latest
23
- container : debian:bookworm
23
+ container : debian:stable-slim
24
24
steps :
25
25
- uses : actions/checkout@v4
26
26
- 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
30
45
- uses : Swatinem/rust-cache@v2
31
46
- run : /github/home/.cargo/bin/cargo install --debug --locked --no-default-features --features max-pure --path .
32
47
You can’t perform that action at this time.
0 commit comments