-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to 2025 toolchains * Fixup build workflow
- Loading branch information
1 parent
90684ee
commit 1c83ed7
Showing
18 changed files
with
480 additions
and
86 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
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 @@ | ||
--- | ||
Language: Cpp | ||
BasedOnStyle: Google | ||
FixNamespaceComments: true | ||
... |
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,33 @@ | ||
name: Publish Module | ||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
publish_module: | ||
name: "Publish Module" | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
# Checkout repository | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: rules/rules_bzlmodrio_toolchains | ||
|
||
- name: Create Archive | ||
run: git archive HEAD --format=tar.gz --output="rules_bzlmodrio_toolchains-${GITHUB_REF_NAME}.tar.gz" | ||
working-directory: rules/rules_bzlmodrio_toolchains | ||
|
||
- name: Setup archive name | ||
run: echo "ARCHIVE_NAME=rules/rules_bzlmodrio_toolchains/rules_bzlmodrio_toolchains-${GITHUB_REF_NAME}.tar.gz" >> "$GITHUB_ENV" | ||
|
||
- name: Release | ||
uses: softprops/action-gh-release@v2 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: "${{ env.ARCHIVE_NAME }}" |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,30 @@ | ||
constraint_setting( | ||
name = "is_bookworm32", | ||
default_constraint_value = ":false", | ||
) | ||
|
||
constraint_value( | ||
name = "true", | ||
constraint_setting = ":is_bookworm32", | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
constraint_value( | ||
name = "false", | ||
constraint_setting = ":is_bookworm32", | ||
) | ||
|
||
config_setting( | ||
name = "bookworm32", | ||
constraint_values = [":true"], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
config_setting( | ||
name = "bookworm32_debug", | ||
constraint_values = [":true"], | ||
values = { | ||
"compilation_mode": "dbg", | ||
}, | ||
visibility = ["//visibility:public"], | ||
) |
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,30 @@ | ||
constraint_setting( | ||
name = "is_bookworm64", | ||
default_constraint_value = ":false", | ||
) | ||
|
||
constraint_value( | ||
name = "true", | ||
constraint_setting = ":is_bookworm64", | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
constraint_value( | ||
name = "false", | ||
constraint_setting = ":is_bookworm64", | ||
) | ||
|
||
config_setting( | ||
name = "bookworm64", | ||
constraint_values = [":true"], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
config_setting( | ||
name = "bookworm64_debug", | ||
constraint_values = [":true"], | ||
values = { | ||
"compilation_mode": "dbg", | ||
}, | ||
visibility = ["//visibility:public"], | ||
) |
Oops, something went wrong.