diff --git a/.melodium-ci/lib-root.mel b/.melodium-ci/lib-root.mel index 6862c27e..16689c92 100644 --- a/.melodium-ci/lib-root.mel +++ b/.melodium-ci/lib-root.mel @@ -56,7 +56,7 @@ treatment buildTestAyaForArch[logger: Logger, runner: CicdRunnerEngine](short: s executor_name = |wrap(short), commands = |raw_commands([ //|format("rustup target add {arch}", |entry("arch", arch)), - "cargo binstall cargo-hack" //, + "cross binstall cargo-hack" //, //${bash -c "curl https://raw.githubusercontent.com/taiki-e/install-action/refs/heads/cargo-hack/main.sh | bash -"}, //${bash -c "curl https://raw.githubusercontent.com/taiki-e/setup-cross-toolchain-action/refs/tags/v1/main.sh | bash -"} ]), @@ -94,17 +94,17 @@ treatment buildTestAyaForArch[logger: Logger, runner: CicdRunnerEngine](short: s executor_name = |wrap(short), commands = |raw_commands([ // Build - "cargo hack build --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude xtask --workspace", + "cross hack build --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude xtask --workspace", // Test - "cargo hack test --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude integration-test --exclude xtask --workspace", + "cross hack test --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude integration-test --exclude xtask --workspace", // Doc - "cargo hack test --doc --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude integration-test --exclude xtask --workspace" + "cross hack test --doc --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude integration-test --exclude xtask --workspace" ]), environment = |wrap( |environment( |map([ - |entry("RUST_BACKTRACE", "full"), - |entry("CARGO_BUILD_TARGET", arch) + |entry("RUST_BACKTRACE", "full")/*, + |entry("CARGO_BUILD_TARGET", arch)*/ ]), "/root/aya", // working_directory false, // expand_variables