|
|
|
|
@ -43,21 +43,21 @@ treatment buildTestAya(const api_token: string, const github_contexts: string =
|
|
|
|
|
triggerFinish: trigger<void>()
|
|
|
|
|
startup.trigger -> prepareContexts.trigger,ready -> concentratedFinish.trigger,data -> triggerFinish.stream,end -> manageLogs.stop
|
|
|
|
|
|
|
|
|
|
build_aarch64: buildTestAyaForArchUsingImage[logger=logger, dispatcher=dispatcher, github_contexts=github_contexts, finish_concentrator=finish_concentrator](
|
|
|
|
|
build_aarch64: /*buildTestAyaForArchUsingImage[logger=logger, dispatcher=dispatcher, github_contexts=github_contexts, finish_concentrator=finish_concentrator](
|
|
|
|
|
short_rust_arch="aarch64",
|
|
|
|
|
full_rust_arch="aarch64-unknown-linux-gnu",
|
|
|
|
|
ubuntu_arch="arm64",
|
|
|
|
|
image="ghcr.io/taiki-e/rust-cross-toolchain:aarch64-unknown-linux-gnu-dev-amd64",
|
|
|
|
|
repository_clone_ref=repository_clone_ref,
|
|
|
|
|
repository_clone_url=repository_clone_url
|
|
|
|
|
)
|
|
|
|
|
/*buildTestAyaForArch[logger=logger, dispatcher=dispatcher, github_contexts=github_contexts, finish_concentrator=finish_concentrator](
|
|
|
|
|
)*/
|
|
|
|
|
buildTestAyaForArch[logger=logger, dispatcher=dispatcher, github_contexts=github_contexts, finish_concentrator=finish_concentrator](
|
|
|
|
|
short_rust_arch="aarch64",
|
|
|
|
|
full_rust_arch="aarch64-unknown-linux-gnu",
|
|
|
|
|
ubuntu_arch="arm64",
|
|
|
|
|
repository_clone_ref=repository_clone_ref,
|
|
|
|
|
repository_clone_url=repository_clone_url
|
|
|
|
|
)*/
|
|
|
|
|
)
|
|
|
|
|
/*build_armv7: buildTestAyaForArch[logger=logger, dispatcher=dispatcher, github_contexts=github_contexts, finish_concentrator=finish_concentrator](
|
|
|
|
|
short_rust_arch="armv7",
|
|
|
|
|
full_rust_arch="armv7-unknown-linux-gnueabi",
|
|
|
|
|
@ -151,9 +151,8 @@ treatment buildTestAyaForArch[logger: Logger, dispatcher: CicdDispatchEngine, gi
|
|
|
|
|
executor_name = "rust",
|
|
|
|
|
commands = |raw_commands([
|
|
|
|
|
|format("dpkg --add-architecture {arch}", |entry("arch", ubuntu_arch)),
|
|
|
|
|
"/usr/bin/systemctl mask docker.service docker.socket",
|
|
|
|
|
"apt-get update",
|
|
|
|
|
|format("bash -c \"apt-get install -y liblzma-dev:{arch} qemu-user ; exit 0\"", |entry("arch", ubuntu_arch)),
|
|
|
|
|
|format("apt-get install -y podman podman-docker liblzma-dev:{arch} qemu-user", |entry("arch", ubuntu_arch)),
|
|
|
|
|
${bash -c "curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/taiki-e/setup-cross-toolchain-action/refs/tags/v1/main.sh | bash -"},
|
|
|
|
|
"cat /tmp/github.env"
|
|
|
|
|
]),
|
|
|
|
|
|