Try fix according to gha file location rules

pull/1416/head
Quentin VIGNAUD 3 months ago
parent 1622618184
commit d2bdeddeb9

@ -87,20 +87,20 @@ treatment buildTestAya[logger: Logger](
github_contexts = github_contexts github_contexts = github_contexts
) )
step0: checkout[contexts = contexts, logger = logger]( step0: checkout[contexts = contexts, logger = logger](
path = |format("/tmp/{arch}", |entry("arch", target_arch)) path = |format("${{{{ github.workspace }}}}/{arch}", |entry("arch", target_arch))
) )
step1: RefStablerustToolchain[contexts = contexts, logger = logger]( step1: RefStablerustToolchain[contexts = contexts, logger = logger](
targets = target_arch targets = target_arch
) )
step2: rustCache[contexts = contexts, logger = logger]( step2: rustCache[contexts = contexts, logger = logger](
workspaces = |format("/tmp/{arch}", |entry("arch", target_arch)) workspaces = |format("${{{{ github.workspace }}}}/{arch}", |entry("arch", target_arch))
) )
step3: RefCargoHackinstallAction[contexts = contexts, logger = logger]() step3: RefCargoHackinstallAction[contexts = contexts, logger = logger]()
step4: setupCrossToolchainAction[contexts = contexts, logger = logger]( step4: setupCrossToolchainAction[contexts = contexts, logger = logger](
target = target_arch target = target_arch
) )
build: runAction[contexts = contexts, logger = logger]( build: runAction[contexts = contexts, logger = logger](
working_directory = |wrap<string>(|format("/tmp/{arch}", |entry("arch", target_arch))), working_directory = |wrap<string>(|format("${{{{ github.workspace }}}}/{arch}", |entry("arch", target_arch))),
commands = ${ commands = ${
set -euxo pipefail set -euxo pipefail
cargo hack build --all-targets --feature-powerset \ cargo hack build --all-targets --feature-powerset \
@ -115,7 +115,7 @@ cargo hack build --all-targets --feature-powerset \
name = "build" name = "build"
) )
test: runAction[contexts = contexts, logger = logger]( test: runAction[contexts = contexts, logger = logger](
working_directory = |wrap<string>(|format("/tmp/{arch}", |entry("arch", target_arch))), working_directory = |wrap<string>(|format("${{{{ github.workspace }}}}/{arch}", |entry("arch", target_arch))),
commands = ${set -euxo pipefail commands = ${set -euxo pipefail
cargo hack test --all-targets --feature-powerset \ cargo hack test --all-targets --feature-powerset \
--exclude aya-ebpf \ --exclude aya-ebpf \
@ -138,7 +138,7 @@ cargo hack test --all-targets --feature-powerset \
name = "test" name = "test"
) )
doctests: runAction[contexts = contexts, logger = logger]( doctests: runAction[contexts = contexts, logger = logger](
working_directory = |wrap<string>(|format("/tmp/{arch}", |entry("arch", target_arch))), working_directory = |wrap<string>(|format("${{{{ github.workspace }}}}/{arch}", |entry("arch", target_arch))),
commands = ${ commands = ${
set -euxo pipefail set -euxo pipefail
cargo hack test --doc --feature-powerset \ cargo hack test --doc --feature-powerset \

Loading…
Cancel
Save