-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[infra] use the REAL bazel central registry (#264)
* Points bazel at the REAL BCR, not our fork * CI automation for cutting releases and PR'ing the BCR * Updates the dependency on maliput to that found on the BCR * (other) Name consistency for CI workflows Signed-off-by: Daniel Stonier <[email protected]>
- Loading branch information
Showing
11 changed files
with
83 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
fixedReleaser: | ||
login: stonier | ||
email: [email protected] |
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,15 @@ | ||
{ | ||
"homepage": "https://github.com/maliput/maliput_malidrive", | ||
"maintainers": [ | ||
{ | ||
"name": "Daniel Stonier", | ||
"email": "[email protected]", | ||
"github": "stonier" | ||
} | ||
], | ||
"repository": [ | ||
"github:maliput/maliput_malidrive" | ||
], | ||
"versions": [], | ||
"yanked_versions": {} | ||
} |
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,16 @@ | ||
bcr_test_module: | ||
module_path: "." | ||
matrix: | ||
platform: ["ubuntu2004"] # "debian10", "macos", "windows" | ||
tasks: | ||
verify_targets: | ||
name: Verify Build Targets | ||
platform: ${{ platform }} | ||
build_targets: | ||
- '@maliput_malidrive//:maliput_malidrive' | ||
# TODO(stonier): no tests yet... | ||
# run_tests: | ||
# name: "Run test module" | ||
# platform: ${{ platform }} | ||
# test_targets: | ||
# - "//..." |
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,5 @@ | ||
{ | ||
"integrity": "", | ||
"strip_prefix": "{REPO}-{VERSION}", | ||
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz" | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: gcc | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: containers | ||
name: Containers | ||
|
||
permissions: write-all | ||
|
||
|
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,34 @@ | ||
# Cuts a github release with a stable release archive [1] from a *.*.* tag. | ||
# | ||
# [1] See https://blog.bazel.build/2023/02/15/github-archive-checksum.html | ||
# for why source code assets are not stable). | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "*.*.*" | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set Variables | ||
shell: bash | ||
run: echo "ARCHIVE_NAME=${{ github.event.repository.name }}-${GITHUB_REF_NAME}" >> $GITHUB_ENV | ||
- name: Variables | ||
run: | | ||
echo "Repository Name: ${{ github.event.repository.name }}" | ||
echo "GITHUB_REF: ${GITHUB_REF}" | ||
echo "GITUB_REF_NAME: ${GITHUB_REF_NAME}" | ||
echo "ARCHIVE_NAME: ${{ env.ARCHIVE_NAME }}" | ||
- name: Create Release Asset | ||
shell: bash | ||
run: git archive $GITHUB_REF --prefix=${{ env.ARCHIVE_NAME }}/ -o "${{ env.ARCHIVE_NAME }}.tar.gz" | ||
- name: Cut a Release | ||
uses: softprops/action-gh-release@v1 | ||
with: | ||
draft: false | ||
prerelease: false | ||
files: ${{ env.ARCHIVE_NAME }}.tar.gz |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: clang | ||
name: Sanitizers | ||
|
||
on: | ||
pull_request: | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: scan_build | ||
name: Scan Build | ||
|
||
on: | ||
pull_request: | ||
|
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