From 9a21ff47b8ed76007d9f8919dceb3a3ccef058f1 Mon Sep 17 00:00:00 2001 From: Laura Abbott Date: Thu, 17 Oct 2024 16:24:35 -0400 Subject: [PATCH] WIP --- .github/buildomat/build-one.sh | 13 +++++++++++++ .github/buildomat/jobs/gimlet-c.sh | 15 +++++++++++++++ .github/buildomat/jobs/gimlet-d.sh | 15 +++++++++++++++ .github/buildomat/jobs/gimlet-e.sh | 15 +++++++++++++++ .github/buildomat/jobs/gimlet-f.sh | 15 +++++++++++++++ .github/buildomat/{jobs => }/sp.sh | 0 6 files changed, 73 insertions(+) create mode 100755 .github/buildomat/build-one.sh create mode 100755 .github/buildomat/jobs/gimlet-c.sh create mode 100755 .github/buildomat/jobs/gimlet-d.sh create mode 100755 .github/buildomat/jobs/gimlet-e.sh create mode 100755 .github/buildomat/jobs/gimlet-f.sh rename .github/buildomat/{jobs => }/sp.sh (100%) diff --git a/.github/buildomat/build-one.sh b/.github/buildomat/build-one.sh new file mode 100755 index 000000000..2ec152749 --- /dev/null +++ b/.github/buildomat/build-one.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -o errexit +set -o pipefail +set -o xtrace +set -o nounset + +toml=$1 +name=$2 +image=$3 + +cargo xtask dist $toml +cp target/$name/dist/$image/build-$name-image-$image.zip /work/ diff --git a/.github/buildomat/jobs/gimlet-c.sh b/.github/buildomat/jobs/gimlet-c.sh new file mode 100755 index 000000000..697c1e09f --- /dev/null +++ b/.github/buildomat/jobs/gimlet-c.sh @@ -0,0 +1,15 @@ +#!/bin/bash +#: +#: name = "build gimlet-c" +#: variety = "basic" +#: target = "ubuntu-22.04" +#: rust_toolchain = true +#: output_rules = [ +#: "=/work/*.zip", +#: ] + +set -o errexit +set -o pipefail +set -o xtrace + +exec .github/buildomat/build-one.sh gimlet-c /app/gimlet/rev-c.toml default diff --git a/.github/buildomat/jobs/gimlet-d.sh b/.github/buildomat/jobs/gimlet-d.sh new file mode 100755 index 000000000..2567d9834 --- /dev/null +++ b/.github/buildomat/jobs/gimlet-d.sh @@ -0,0 +1,15 @@ +#!/bin/bash +#: +#: name = "build gimlet-c" +#: variety = "basic" +#: target = "ubuntu-22.04" +#: rust_toolchain = true +#: output_rules = [ +#: "=/work/*.zip", +#: ] + +set -o errexit +set -o pipefail +set -o xtrace + +exec .github/buildomat/build-one.sh gimlet-d /app/gimlet/rev-d.toml default diff --git a/.github/buildomat/jobs/gimlet-e.sh b/.github/buildomat/jobs/gimlet-e.sh new file mode 100755 index 000000000..4a45acce4 --- /dev/null +++ b/.github/buildomat/jobs/gimlet-e.sh @@ -0,0 +1,15 @@ +#!/bin/bash +#: +#: name = "build gimlet-c" +#: variety = "basic" +#: target = "ubuntu-22.04" +#: rust_toolchain = true +#: output_rules = [ +#: "=/work/*.zip", +#: ] + +set -o errexit +set -o pipefail +set -o xtrace + +exec .github/buildomat/build-one.sh gimlet-e /app/gimlet/rev-e.toml default diff --git a/.github/buildomat/jobs/gimlet-f.sh b/.github/buildomat/jobs/gimlet-f.sh new file mode 100755 index 000000000..b33378067 --- /dev/null +++ b/.github/buildomat/jobs/gimlet-f.sh @@ -0,0 +1,15 @@ +#!/bin/bash +#: +#: name = "build gimlet-c" +#: variety = "basic" +#: target = "ubuntu-22.04" +#: rust_toolchain = true +#: output_rules = [ +#: "=/work/*.zip", +#: ] + +set -o errexit +set -o pipefail +set -o xtrace + +exec .github/buildomat/build-one.sh gimlet-f /app/gimlet/rev-f.toml default diff --git a/.github/buildomat/jobs/sp.sh b/.github/buildomat/sp.sh similarity index 100% rename from .github/buildomat/jobs/sp.sh rename to .github/buildomat/sp.sh