Skip to content

Commit

Permalink
A pipeline to assure max-pure builds don't need a C toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Nov 22, 2022
1 parent b0083e3 commit 35ef0d1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 # 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:
Expand Down

0 comments on commit 35ef0d1

Please sign in to comment.