Skip to content

Commit eb7ab5a

Browse files
authored
Fix llvm-apple after #531 (#546)
1 parent db096ea commit eb7ab5a

File tree

3 files changed

+39
-4
lines changed

3 files changed

+39
-4
lines changed

.buildkite/llvm-apple-pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ steps:
1515
key: "build-ubuntu-x86"
1616
if: build.env("BUILDKITE_PULL_REQUEST") != "false" || build.source == "ui" || build.branch == "main" || build.branch =~ /^[0-9]+\.[0-9]+$$/
1717
command:
18-
- ".buildkite/scripts/llvm-fpm/build.sh ${MAKEFILE} ${CHANGESET_FILE} ${DOCKER_FILTER_REF}"
19-
- ".buildkite/scripts/llvm-fpm/publish.sh ${MAKEFILE} ${CHANGESET_FILE}"
18+
- ".buildkite/scripts/llvm-apple/build.sh ${MAKEFILE} ${CHANGESET_FILE} ${DOCKER_FILTER_REF}"
19+
- ".buildkite/scripts/llvm-apple/publish.sh ${MAKEFILE} ${CHANGESET_FILE}"
2020
notify:
2121
- github_commit_status:
2222
context: "Build LLVM Apple / Ubuntu X86_64"
@@ -38,8 +38,8 @@ steps:
3838
key: "build-ubuntu-arm"
3939
if: build.env("BUILDKITE_PULL_REQUEST") != "false" || build.source == "ui" || build.branch == "main" || build.branch =~ /^[0-9]+\.[0-9]+$$/
4040
command:
41-
- ".buildkite/scripts/llvm-fpm/build.sh ${MAKEFILE} ${CHANGESET_FILE} ${DOCKER_FILTER_REF}"
42-
- ".buildkite/scripts/llvm-fpm/publish.sh ${MAKEFILE} ${CHANGESET_FILE}"
41+
- ".buildkite/scripts/llvm-apple/build.sh ${MAKEFILE} ${CHANGESET_FILE} ${DOCKER_FILTER_REF}"
42+
- ".buildkite/scripts/llvm-apple/publish.sh ${MAKEFILE} ${CHANGESET_FILE}"
4343
notify:
4444
- github_commit_status:
4545
context: "Build LLVM Apple / Ubuntu ARM"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
source .buildkite/scripts/common.sh
6+
7+
makefile=${1}
8+
patterns=${2}
9+
docker_filter_ref=${3}
10+
11+
if ! are_files_changed "$patterns" ; then
12+
exit 0
13+
fi
14+
15+
add_bin_path
16+
with_go "${GOLANG_VERSION}"
17+
with_mage
18+
19+
retry 3 make -C "${makefile}" build GS_BUCKET_PATH=ingest-buildkite-ci
20+
docker images --format "table {{.Repository}}:{{.Tag}}\t{{.Size}}" --filter=reference="${docker_filter_ref}"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
3+
set -euo pipefail
4+
5+
source .buildkite/scripts/common.sh
6+
7+
makefile=${1}
8+
patterns=${2}
9+
10+
if ! are_files_changed "$patterns" ; then
11+
exit 0
12+
fi
13+
14+
add_bin_path
15+
retry 3 make -C ${makefile} push

0 commit comments

Comments
 (0)