-
Notifications
You must be signed in to change notification settings - Fork 29.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: RafaelGSS <[email protected]> Co-Authored-By: Santiago Gimeno <[email protected]> PR-URL: #46297 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Jan Krems <[email protected]>
- Loading branch information
1 parent
40ef2da
commit ba06c5c
Showing
7 changed files
with
110 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Test UBSan | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
paths-ignore: | ||
- .mailmap | ||
- '**.md' | ||
- AUTHORS | ||
- doc/** | ||
- .github/** | ||
- '!.github/workflows/ubsan-asan.yml' | ||
push: | ||
branches: | ||
- main | ||
- canary | ||
- v[0-9]+.x-staging | ||
- v[0-9]+.x | ||
paths-ignore: | ||
- .mailmap | ||
- '**.md' | ||
- AUTHORS | ||
- doc/** | ||
- .github/** | ||
- '!.github/workflows/ubsan-asan.yml' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
PYTHON_VERSION: '3.11' | ||
FLAKY_TESTS: keep_retrying | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test-ubsan: | ||
if: github.event.pull_request.draft == false | ||
runs-on: ubuntu-20.04 | ||
env: | ||
CC: gcc | ||
CXX: g++ | ||
LINK: g++ | ||
CONFIG_FLAGS: --enable-ubsan | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
persist-credentials: false | ||
- name: Store suppressions path | ||
run: | | ||
echo "UBSAN_OPTIONS=suppressions=$GITHUB_WORKSPACE/suppressions.supp" >> $GITHUB_ENV | ||
- name: Set up Python ${{ env.PYTHON_VERSION }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- name: Environment Information | ||
run: npx envinfo | ||
- name: Build | ||
run: make build-ci -j2 V=1 | ||
- name: Test | ||
run: make run-ci -j2 V=1 TEST_CI_ARGS="-p actions -t 300 --measure-flakiness 9" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
vptr:deps/icu-small/source/common/uloc_tag.cpp | ||
vptr:deps/icu-small/source/common/unistr.cpp | ||
shift-base:deps/v8/src/wasm/decoder.h | ||
vptr:deps/icu-small/source/common/sharedobject.cpp | ||
vptr:deps/icu-small/source/i18n/coll.cpp | ||
nonnull-attribute:deps/v8/src/snapshot/snapshot-source-sink.h |
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