Skip to content

Commit ed4deac

Browse files
committed
A pipeline to assure max-pure builds don't need a C toolchain
1 parent b0083e3 commit ed4deac

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/ci.yml

+12
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ on:
3030
- Makefile
3131

3232
jobs:
33+
pure-rust-build:
34+
runs-on: ubuntu-latest
35+
container: debian:buster
36+
steps:
37+
- uses: actions/checkout@v3
38+
- uses: Swatinem/rust-cache@v2
39+
- name: Prerequisites
40+
run: apt-get update && apt-get install --no-install-recommends -y ca-certificates curl gcc libc-dev # gcc is required as OS abstraction
41+
- name: install Rust via Rustup
42+
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal;
43+
- run: /github/home/.cargo/bin/cargo build --no-default-features --features max-pure
44+
3345
test:
3446
runs-on: ubuntu-latest
3547
steps:

0 commit comments

Comments
 (0)