From ed4deacc1d08f9fa051159e3b26999aacb43125c Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Tue, 22 Nov 2022 19:08:12 +0100 Subject: [PATCH] A pipeline to assure max-pure builds don't need a C toolchain --- .github/workflows/ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e5a84914612..a543f827193 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,18 @@ on: - Makefile jobs: + pure-rust-build: + runs-on: ubuntu-latest + container: debian:buster + steps: + - uses: actions/checkout@v3 + - uses: Swatinem/rust-cache@v2 + - name: Prerequisites + run: apt-get update && apt-get install --no-install-recommends -y ca-certificates curl gcc libc-dev # gcc is required as OS abstraction + - name: install Rust via Rustup + run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal; + - run: /github/home/.cargo/bin/cargo build --no-default-features --features max-pure + test: runs-on: ubuntu-latest steps: