Skip to content

Commit

Permalink
build rust workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
philiplinden committed Dec 10, 2023
1 parent 89087cf commit 3a06484
Showing 1 changed file with 19 additions and 1 deletion.
20 changes: 19 additions & 1 deletion .github/workflows/build-docs-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,23 @@ on:

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: {}

jobs:
build-rust:
runs-on: ubuntu-latest
steps:
- name: clippy
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt, clippy
- name: Release build
uses: actions-rs/cargo@v1
with:
command: build
args: --release --all-features

build-python:
runs-on: ubuntu-latest
steps:
Expand All @@ -23,7 +39,9 @@ jobs:
- run: poetry build

docs:
needs: build-python
needs:
- build-python
- build-rust
runs-on: ubuntu-latest
steps:
- name: checkout
Expand Down

0 comments on commit 3a06484

Please sign in to comment.