Skip to content

Commit 3f89704

Browse files
timsaucermartin-gCopilot
authored
Build in debug mode for PRs (#1375)
* First draft of running debug mode for PRs and release mode for main & releases * Update paths * Change install command for taplo * install protoc * taplo fmt * Working through CI build issues * More CI issues * do not build taplo, just download it * Try only running clippy when we can reuse build artifacts * Try removing unnecessary installs during build * Don't build cargo-license * Add back in uv sync so we can run maturin * minor: name casing * Fix path for wheels * More CI updates, but expect pytest to fail until we switch to downloading the wheel artifacts from build stage * Correct error in yml file. Rename to match other file extensions * Download wheel from build stage for testing * For CI tests move into test directory to avoid picking up pyproject.toml file * Do not upload artifacts not used in testing during debug builds * Do not attempt to use local python path for tests * Bump manylinux version * Do not run release flow for branches named branch-*. Only run it for pushes to main and release or candidate tags. * Build FFI test code in build stage so we only build it once * We need both wheels to be in the dist folder and the maturin action is erasing the other wheel * We now have two wheels that need to be installed instead of just one * Make a minor change to restart CI * tests will need both wheels also * Update .github/workflows/build.yml Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com> * mac has protoc system installed * Update .github/workflows/test.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8fc9436 commit 3f89704

File tree

11 files changed

+541
-293
lines changed

11 files changed

+541
-293
lines changed

.cargo/config.toml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
[target.x86_64-apple-darwin]
2-
rustflags = [
3-
"-C", "link-arg=-undefined",
4-
"-C", "link-arg=dynamic_lookup",
5-
]
2+
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]
63

74
[target.aarch64-apple-darwin]
8-
rustflags = [
9-
"-C", "link-arg=-undefined",
10-
"-C", "link-arg=dynamic_lookup",
11-
]
12-
5+
rustflags = ["-C", "link-arg=-undefined", "-C", "link-arg=dynamic_lookup"]

0 commit comments

Comments
 (0)