Skip to content

Commit

Permalink
hack: test debug build in CI
Browse files Browse the repository at this point in the history
TODO TODO TODO TODO
TODO TODO TODO TODO
TODO TODO TODO TODO

Signed-off-by: Riccardo Mancini <mancio@amazon.com>
  • Loading branch information
Manciukic committed Feb 26, 2025
1 parent 3f0a914 commit 46b6545
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .buildkite/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,9 +209,9 @@ def shared_build():
elif os.environ.get("BUILDKITE_PULL_REQUEST", "false") != "false":
build_cmds = ab_revision_build(
os.environ.get("BUILDKITE_PULL_REQUEST_BASE_BRANCH", "main")
) + ["./tools/devtool -y build --release"]
) + ["./tools/devtool -y build --debug"]
else:
build_cmds = ["./tools/devtool -y build --release"]
build_cmds = ["./tools/devtool -y build --debug"]
binary_dir = f"build_$(uname -m)_{random_str(k=8)}.tar.gz"
build_cmds += [
"du -sh build/*",
Expand Down
1 change: 1 addition & 0 deletions tests/framework/microvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,7 @@ def build(self, kernel=None, rootfs=None, **kwargs):
"jailer_binary_path", self.jailer_binary_path
),
netns=kwargs.pop("netns", self.netns_factory(microvm_id)),
monitor_memory=False,
**kwargs,
)
vm.netns.setup()
Expand Down
2 changes: 1 addition & 1 deletion tests/host_tools/cargo_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from framework.with_filelock import with_filelock

DEFAULT_TARGET = f"{platform.machine()}-unknown-linux-musl"
DEFAULT_TARGET_DIR = f"{DEFAULT_TARGET}/release/"
DEFAULT_TARGET_DIR = f"{DEFAULT_TARGET}/debug/"


def nightly_toolchain() -> str:
Expand Down

0 comments on commit 46b6545

Please sign in to comment.