Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
labbott committed Oct 17, 2024
1 parent 6f26b1c commit 9a21ff4
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/buildomat/build-one.sh
Original file line number Diff line number Diff line change
@@ -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/
15 changes: 15 additions & 0 deletions .github/buildomat/jobs/gimlet-c.sh
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions .github/buildomat/jobs/gimlet-d.sh
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions .github/buildomat/jobs/gimlet-e.sh
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions .github/buildomat/jobs/gimlet-f.sh
Original file line number Diff line number Diff line change
@@ -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
File renamed without changes.

0 comments on commit 9a21ff4

Please sign in to comment.