Skip to content

Commit

Permalink
Fix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeEngineer committed Jan 20, 2023
1 parent b81f836 commit 585c286
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ jobs:

- name: Additional Check (for packaging)
if: startsWith(matrix.os, 'ubuntu')
run: cargo check --no-default-features --features use-sodiumoxide
run: cargo check --profile ci-rust --no-default-features --features use-sodiumoxide

- name: Test rust codebase
if: steps.rust-changes.outputs.run == 'true'
Expand Down
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ def build():
# native module and discard the rest !

maturin_build_profile = "--profile=" + os.environ.get("CARGO_PROFILE", DEFAULT_CARGO_PROFILE)
maturin_build_features = os.environ.get("CARGO_EXTRA_ARGS", "")
maturin_build_extra_args = os.environ.get("CARGO_EXTRA_ARGS", "")

with tempfile.TemporaryDirectory() as distdir:
run(
f"maturin build {maturin_build_profile} {maturin_build_features} --interpreter {PYTHON_EXECUTABLE_PATH} --out {distdir}"
f"maturin build {maturin_build_profile} {maturin_build_extra_args} --interpreter {PYTHON_EXECUTABLE_PATH} --out {distdir}"
)

outputs = list(pathlib.Path(distdir).iterdir())
Expand Down

0 comments on commit 585c286

Please sign in to comment.