Skip to content

Commit 85e4c98

Browse files
4ogfbaeuerle
authored andcommitted
Update release template and Actions workflow with sanitizers and linting
- Updated RELEASE_TEMPLATE.md. - Added linting and sanitization jobs to release workflow in release.yml. - Remove module version as it's now possible after eclipse-score/bazel_registry#334
1 parent 2b01679 commit 85e4c98

4 files changed

Lines changed: 19 additions & 816 deletions

File tree

.github/RELEASE_TEMPLATE.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,18 @@ Bug Fixes
2323

2424
Compatibility
2525
-------------
26-
- `x86_64-unknown-linux-gnu`, `x86_64-unknown-nto-qnx800` and `aarch64-unknown-nto-qnx800` using [score_toolchains_gcc](https://github.com/eclipse-score/bazel_cpp_toolchains).
26+
The following platforms are supported using the [bazel_cpp_toolchains](https://github.com/eclipse-score/bazel_cpp_toolchains):
27+
- `x86_64-unknown-linux-gnu`
28+
- `aarch64-unknown-linux-gnu`
29+
- `x86_64-unknown-nto-qnx800`
30+
- `aarch64-unknown-nto-qnx800`
2731

2832
Performed Verification
2933
----------------------
30-
- Build for `x86_64-unknown-linux-gnu` and `x86_64-unknown-nto-qnx800`.
31-
- Unit tests executed on `x86_64-unknown-linux-gnu`.
34+
- Build on all supported platforms
35+
- Unit test execution on `x86_64-unknown-linux-gnu` and `aarch64-unknown-linux-gnu` with QEMU user-mode emulation
36+
- Address and undefined behavior sanitized unit test execution
37+
- Leak sanitized unit test execution
3238

3339
Report: $ACTION_RUN_URL
3440

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,14 @@ jobs:
6464
coverage-report:
6565
needs: validate-preconditions
6666
uses: ./.github/workflows/coverage_report.yml
67+
lint:
68+
needs: validate-preconditions
69+
uses: ./.github/workflows/lint.yml
70+
sanitizers:
71+
needs: validate-preconditions
72+
uses: ./.github/workflows/sanitizers_linux.yml
6773
create-release:
68-
needs: [validate-preconditions, build-linux, build-qnx, coverage-report]
74+
needs: [validate-preconditions, build-linux, build-qnx, coverage-report, lint, sanitizers]
6975
runs-on: ubuntu-latest
7076
permissions:
7177
contents: write

MODULE.bazel

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,8 @@
1010
#
1111
# SPDX-License-Identifier: Apache-2.0
1212
# *******************************************************************************
13-
module(
14-
name = "score_baselibs",
15-
version = "0.2.4",
16-
compatibility_level = 0,
17-
)
13+
14+
module(name = "score_baselibs")
1815

1916
## Configure the C++ toolchain
2017

0 commit comments

Comments
 (0)