Skip to content

Commit 09d5a12

Browse files
committed
CI (Buildkite): on pull request builds, build the merge commit (e.g. refs/pull/1234/merge)
1 parent 4dea1c4 commit 09d5a12

File tree

11 files changed

+30
-0
lines changed

11 files changed

+30
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
steps:
22
- label: ":buildkite: Launch unsigned pipelines"
33
commands: |
4+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
45
buildkite-agent pipeline upload .buildkite/pipelines/experimental/misc/sanitizers.yml
56
agents:
67
queue: julia

.buildkite/pipelines/experimental/misc/sanitizers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@ steps:
2121
version: 1.6
2222
timeout_in_minutes: 120
2323
commands: |
24+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
2425
echo "--- Build julia-debug with ASAN"
2526
contrib/asan/build.sh ./tmp/test-asan -j$${JULIA_CPU_THREADS:?} debug

.buildkite/pipelines/main/launch_unsigned_builders.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
steps:
1616
- label: ":buildkite: Launch unsigned builders"
1717
commands: |
18+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
19+
1820
# Launch the `whitespace` builder first, because we want that builder to finish as quickly as possible.
1921
buildkite-agent pipeline upload .buildkite/pipelines/main/misc/whitespace.yml
2022

.buildkite/pipelines/main/misc/doctest.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ steps:
1818
# Include `/cache/repos` so that our `git` version introspection works.
1919
- "/cache/repos:/cache/repos"
2020
commands: |
21+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
2122
echo "--- Build Julia from source"
2223
make -j 6
2324

.buildkite/pipelines/main/misc/embedding.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ steps:
1818
# Include `/cache/repos` so that our `git` version introspection works.
1919
- "/cache/repos:/cache/repos"
2020
commands: |
21+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
2122
prefix="/tmp/prefix"
2223
echo "+++ Build julia, deploy to $${prefix:?}"
2324
make -j$${JULIA_CPU_THREADS:?} JULIA_PRECOMPILE=0 prefix=$${prefix:?} install

.buildkite/pipelines/main/misc/llvmpasses.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ steps:
1616
# Include `/cache/repos` so that our `git` version introspection works.
1717
- "/cache/repos:/cache/repos"
1818
commands: |
19+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
1920
echo "--- Install in-tree LLVM dependencies"
2021
make -j$${JULIA_CPU_THREADS:?} -C deps install-llvm install-clang install-llvm-tools install-libuv install-utf8proc install-unwind
2122
echo "+++ run clangsa/analyzegc"
@@ -35,6 +36,7 @@ steps:
3536
workspaces:
3637
- "/cache/repos:/cache/repos"
3738
commands: |
39+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
3840
echo "--- make release"
3941
make -j$${JULIA_CPU_THREADS:?} release JULIA_PRECOMPILE=0
4042
echo "--- make src/install-analysis-deps"

.buildkite/pipelines/main/misc/whitespace.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ steps:
1919
- github_commit_status:
2020
context: "whitespace"
2121
commands: |
22+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
2223
make -j$${JULIA_CPU_THREADS:?} check-whitespace

.buildkite/pipelines/main/platforms/package_linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ steps:
2121
- "/cache/repos:/cache/repos"
2222
timeout_in_minutes: ${TIMEOUT?}
2323
commands: |
24+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
25+
2426
echo "--- Print the full and short commit hashes"
2527
SHORT_COMMIT_LENGTH=10
2628
SHORT_COMMIT=`echo $${BUILDKITE_COMMIT:?} | cut -c1-$${SHORT_COMMIT_LENGTH:?}`

.buildkite/pipelines/main/platforms/tester_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ steps:
2424
JULIA_SHELL: "/bin/bash"
2525
timeout_in_minutes: ${TIMEOUT?}
2626
commands: |
27+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
2728
echo "--- Print the full and short commit hashes"
2829
SHORT_COMMIT_LENGTH=10
2930
SHORT_COMMIT=`echo $${BUILDKITE_COMMIT:?} | cut -c1-$${SHORT_COMMIT_LENGTH:?}`

.buildkite/pipelines/scheduled/coverage/coverage_linux64.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ steps:
1818
uid: 1000
1919
gid: 1000
2020
commands: |
21+
MCSH=.buildkite/utilities/merge_commit/merge_commit.sh && test -f $${MCSH:?} && bash $${MCSH:?}
22+
2123
echo "--- Build Julia from source"
2224
make -j 6
2325

0 commit comments

Comments
 (0)