-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: add bionic specific install step and add TeamCity build script
- Add logic to install GCC 9 for Ubuntu 18.04 in dependency script. - Replace "ci_PR_arm64v8" with "ci_PR_arm64" in multiple scripts. - Add TeamCity-specific script to manage build flags and dry-run options. - Update contributing documentation to reflect architecture label changes.
- Loading branch information
1 parent
f621555
commit be78596
Showing
7 changed files
with
55 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
build_system/lpm_crawl_libpointmatcher_build_matrix.teamcity.bash
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
# ....Architecture.............................................. | ||
TC_LPM_BUILD_ARCH=%TC_LPM_BUILD_ARCH% | ||
if [[ -z ${TC_LPM_BUILD_ARCH} ]]; then | ||
TC_LPM_BUILD_ARCH=ci_PR_multiarch | ||
fi | ||
echo "Build architecture: ${TC_LPM_BUILD_ARCH}" | ||
|
||
# ....Setup flags for dn_build_all.bash......................... | ||
LPM_CRAWL_BUILD_MATRIX_FLAGS=() | ||
# Add flag from TeamCity custom parameters | ||
LPM_CRAWL_BUILD_MATRIX_FLAGS+=($(echo %LPM_CRAWL_BUILD_MATRIX_FLAGS% | tr " " "\n")) | ||
if [[ -n "${LPM_CRAWL_BUILD_MATRIX_FLAGS}" ]]; then | ||
echo "LPM_CRAWL_BUILD_MATRIX_FLAGS=(" | ||
for each in "${LPM_CRAWL_BUILD_MATRIX_FLAGS[@]}" ; do | ||
echo " ${each}" | ||
done | ||
echo ")" | ||
fi | ||
|
||
LPM_CRAWL_BUILD_MATRIX_FLAGS+=("--repository-version-build-matrix-override" "latest") | ||
LPM_CRAWL_BUILD_MATRIX_FLAGS+=("--fail-fast") | ||
LPM_CRAWL_BUILD_MATRIX_FLAGS+=("--" "build" "${TC_LPM_BUILD_ARCH:?err}") | ||
|
||
# ....Dry-run.............................................. | ||
TC_DRY_RUN=%TC_DRY_RUN% | ||
if [[ ${TC_DRY_RUN} == true ]]; then | ||
echo "Run in dry-run mode" | ||
LPM_CRAWL_BUILD_MATRIX_FLAGS+=("--dry-run") | ||
fi | ||
|
||
# ....Final..................................................... | ||
echo -e "execute: bash lpm_crawl_libpointmatcher_build_matrix.bash ${LPM_CRAWL_BUILD_MATRIX_FLAGS[*]}" | ||
bash lpm_crawl_libpointmatcher_build_matrix.bash "${LPM_CRAWL_BUILD_MATRIX_FLAGS[@]}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters