File tree 10 files changed +44
-10
lines changed
10 files changed +44
-10
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,14 @@ set -o errexit
4
4
set -o pipefail
5
5
set -o xtrace
6
6
7
- # Color the output for easier readability.
8
- export CARGO_TERM_COLOR=always
7
+ #
8
+ # Set up our PATH for the test suite.
9
+ #
10
+
11
+ # shellcheck source=/dev/null
12
+ source ./env.sh
13
+ # shellcheck source=/dev/null
14
+ source .github/buildomat/ci-env.sh
9
15
10
16
target_os=$1
11
17
@@ -30,10 +36,7 @@ OUTPUT_DIR='/work'
30
36
echo " tests will store non-ephemeral output in $OUTPUT_DIR " >&2
31
37
mkdir -p " $OUTPUT_DIR "
32
38
33
- #
34
- # Set up our PATH for the test suite.
35
- #
36
- source ./env.sh
39
+
37
40
38
41
banner prerequisites
39
42
ptime -m bash ./tools/install_builder_prerequisites.sh -y
Original file line number Diff line number Diff line change
1
+ # Setup shared across Buildomat CI builds.
2
+ #
3
+ # This file contains environment variables shared across Buildomat CI jobs.
4
+
5
+ # Color the output for easier readability.
6
+ export CARGO_TERM_COLOR=always
Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ set -o errexit
21
21
set -o pipefail
22
22
set -o xtrace
23
23
24
+ # shellcheck source=/dev/null
25
+ source .github/buildomat/ci-env.sh
26
+
24
27
pfexec mkdir -p /out
25
28
pfexec chown " $UID " /out
26
29
Original file line number Diff line number Diff line change 22
22
# : ]
23
23
# : enable = false
24
24
25
+ # shellcheck source=/dev/null
25
26
source ./env.sh
27
+ # shellcheck source=/dev/null
28
+ source .github/buildomat/ci-env.sh
26
29
27
30
set -o errexit
28
31
set -o pipefail
@@ -91,4 +94,3 @@ for x in ce cr1 cr2 g0 g1 g2 g3 tools omicron-common; do
91
94
tar -czf cargo-bay-$x .tgz cargo-bay/$x
92
95
mv cargo-bay-$x .tgz /out/
93
96
done
94
-
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ set -o errexit
14
14
set -o pipefail
15
15
set -o xtrace
16
16
17
+ # shellcheck source=/dev/null
18
+ source .github/buildomat/ci-env.sh
19
+
17
20
cargo --version
18
21
rustc --version
19
22
Original file line number Diff line number Diff line change @@ -16,13 +16,17 @@ set -o errexit
16
16
set -o pipefail
17
17
set -o xtrace
18
18
19
- cargo --version
20
- rustc --version
21
-
22
19
#
23
20
# Set up our PATH for use with this workspace.
24
21
#
22
+
23
+ # shellcheck source=/dev/null
25
24
source ./env.sh
25
+ # shellcheck source=/dev/null
26
+ source .github/buildomat/ci-env.sh
27
+
28
+ cargo --version
29
+ rustc --version
26
30
27
31
banner prerequisites
28
32
ptime -m bash ./tools/install_builder_prerequisites.sh -y
Original file line number Diff line number Diff line change @@ -194,6 +194,9 @@ cd /opt/oxide/work
194
194
195
195
ptime -m tar xvzf /input/package/work/package.tar.gz
196
196
197
+ # shellcheck source=/dev/null
198
+ source .github/buildomat/ci-env.sh
199
+
197
200
# Ask buildomat for the range of extra addresses that we're allowed to use, and
198
201
# break them up into the ranges we need.
199
202
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ set -o errexit
14
14
set -o pipefail
15
15
set -o xtrace
16
16
17
+ # shellcheck source=/dev/null
18
+ source .github/buildomat/ci-env.sh
19
+
17
20
cargo --version
18
21
rustc --version
19
22
Original file line number Diff line number Diff line change @@ -13,6 +13,9 @@ set -o errexit
13
13
set -o pipefail
14
14
set -o xtrace
15
15
16
+ # shellcheck source=/dev/null
17
+ source .github/buildomat/ci-env.sh
18
+
16
19
cargo --version
17
20
rustc --version
18
21
@@ -48,6 +51,7 @@ mkdir tests
48
51
# deployment phases of buildomat.
49
52
50
53
files=(
54
+ .github/buildomat/ci-env.sh
51
55
out/target/test
52
56
out/npuzone/*
53
57
package-manifest.toml
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ set -o errexit
47
47
set -o pipefail
48
48
set -o xtrace
49
49
50
+ # shellcheck source=/dev/null
51
+ source .github/buildomat/ci-env.sh
52
+
50
53
cargo --version
51
54
rustc --version
52
55
You can’t perform that action at this time.
0 commit comments