Fix env load

pull/1416/head
Quentin VIGNAUD 2 months ago
parent 94ea0bbc80
commit 3d70b3fb3d

@ -122,15 +122,15 @@ treatment buildTestAyaForArch[logger: Logger, github_contexts: JavaScriptEngine,
name = |format("build_{short}", |entry("short", short_rust_arch)), name = |format("build_{short}", |entry("short", short_rust_arch)),
commands = |raw_commands([ commands = |raw_commands([
// Build // Build
${bash -c "set -o allexport && source /tmp/github.env && set +o allexport ${bash -c "set -o allexport && source $GITHUB_ENV && set +o allexport
cargo hack build --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude xtask --workspace" cargo hack build --all-targets --feature-powerset --exclude aya-ebpf --exclude aya-ebpf-bindings --exclude aya-log-ebpf --exclude integration-ebpf --exclude xtask --workspace"
}, },
// Test // Test
${bash -c "set -o allexport && source /tmp/github.env && set +o allexport ${bash -c "set -o allexport && source $GITHUB_ENV && set +o allexport
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" 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"
}, },
// Doc // Doc
${bash -c "set -o allexport && source /tmp/github.env && set +o allexport ${bash -c "set -o allexport && source $GITHUB_ENV && set +o allexport
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" 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"
} }
]), ]),

Loading…
Cancel
Save