-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
gh-112536: Set up TSAN CI for free-threading #116555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
bd5e85a
gh-112536: Set up TSAN CI for free-threading
corona10 a7a3b08
Reduce test scope
corona10 a7f4826
fix
corona10 84bccfb
Add _Py_NO_SANITIZE_THREAD annotation
corona10 aa15f16
nit
corona10 0f72690
nit
corona10 2ce5cdd
fix
corona10 05a5882
swtich to clang
corona10 0b68814
Update
corona10 d2a4476
Update env
corona10 f641cad
fix
corona10 dd88d4a
fix
corona10 6c96e41
fix
corona10 179bacd
Update(?)
corona10 691d0e4
fix
corona10 d89f932
fix(?)
corona10 d833618
Check order
corona10 33317e7
Weired fix
corona10 cade95e
Revert to the gcc
corona10 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev
Previous commit
Revert to the gcc
- Loading branch information
commit cade95e59f97cccb16d9d5f1259685bf57b1117b
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -480,22 +480,14 @@ jobs: | |
| if: needs.check_source.outputs.run_tests == 'true' | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Runner image version | ||
| run: echo "IMAGE_VERSION=${ImageVersion}" >> $GITHUB_ENV | ||
| - name: Restore config.cache | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: config.cache | ||
| key: ${{ github.job }}-${{ runner.os }}-${{ env.IMAGE_VERSION }}-${{ needs.check_source.outputs.config_hash }} | ||
| - name: Install Dependencies | ||
| run: sudo ./.github/workflows/posix-deps-apt.sh | ||
| - name: Set up clang-15 for TSAN | ||
| uses: egor-tensin/setup-clang@v1 | ||
| - name: Set up GCC-10 for ASAN | ||
| uses: egor-tensin/setup-gcc@v1 | ||
| with: | ||
| version: 15 | ||
| cc: 1 | ||
| version: 11 | ||
| - name: Configure CPython | ||
| run: ./configure --config-cache --disable-gil --with-mimalloc --with-thread-sanitizer | ||
| run: ./configure --disable-gil --with-thread-sanitizer | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we want |
||
| - name: Build CPython | ||
| run: make -j4 | ||
| - name: Display build info | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version says "11" but the step name says "GCC-10"