Skip to content

Commit

Permalink
Disable building denormalized-python with cargo-build
Browse files Browse the repository at this point in the history
  • Loading branch information
emgeee committed Sep 3, 2024
1 parent 4f0bb85 commit 5c4af76
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/actions/setup-builder/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Prepare Rust Environment
description: 'Prepare Rust Build Environment'
runs:
using: "composite"
steps:
- name: Configure runtime env
shell: bash
run: |
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
echo "RUST_BACKTRACE=1" >> $GITHUB_ENV
echo "RUSTFLAGS=-C debuginfo=line-tables-only -C incremental=false" >> $GITHUB_ENV
7 changes: 5 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,13 @@ jobs:
with:
toolchain: stable
components: clippy
- uses: Swatinem/rust-cache@v2
- name: Rust Cache
uses: Swatinem/rust-cache@v2
- name: Prepare Rust Env
uses: ./.github/actions/setup-builder

- name: Build
run: cargo build --verbose
run: cargo check --verbose
- name: Run Clippy
run: cargo clippy --all-targets --all-features
- name: Run tests
Expand Down

0 comments on commit 5c4af76

Please sign in to comment.