Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "redwood" Sequoia Rust/Python bridge #6828

Merged
merged 3 commits into from
Jun 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,24 @@ jobs:
DOCKER_BUILD_ARGUMENTS="--cache-from securedrop-test-focal-py3:${fromtag:-latest}" securedrop/bin/dev-shell \
bash -c "/opt/venvs/securedrop-app-code/bin/pip3 install --require-hashes -r requirements/python3/develop-requirements.txt && make -C .. lint"

rust:
# Keep version in sync with rust-toolchain.toml
docker:
- image: rust:1.69.0
steps:
- checkout
- run:
name: Install dependencies
command: |
apt-get update && apt-get install make --yes
rustup component add rustfmt
rustup component add clippy
- run:
name: Lint and test Rust code
command: |
make rust-lint
make rust-test

app-tests:
machine:
image: ubuntu-2004:202010-01
Expand Down Expand Up @@ -357,6 +375,10 @@ workflows:
context:
- circleci-slack
<<: *slack-fail-post-step
- rust:
context:
- circleci-slack
<<: *slack-fail-post-step
- app-tests:
filters:
branches:
Expand Down
Loading