9797 - name : Get a list of the changed documentation-related files
9898 if : github.event_name == 'pull_request'
9999 id : changed-docs-files
100- uses : Ana06/get-changed-files@v2.2 .0
100+ uses : Ana06/get-changed-files@v2.3 .0
101101 with :
102102 filter : |
103103 Doc/**
@@ -206,6 +206,8 @@ jobs:
206206 uses : ./.github/workflows/reusable-macos.yml
207207 with :
208208 config_hash : ${{ needs.check_source.outputs.config_hash }}
209+ # macos-14 is M1, macos-13 is Intel
210+ os-matrix : ' ["macos-14", "macos-13"]'
209211
210212 build_macos_free_threading :
211213 name : ' macOS (free-threading)'
@@ -215,6 +217,8 @@ jobs:
215217 with :
216218 config_hash : ${{ needs.check_source.outputs.config_hash }}
217219 free-threading : true
220+ # macos-14 is M1
221+ os-matrix : ' ["macos-14"]'
218222
219223 build_ubuntu :
220224 name : ' Ubuntu'
@@ -480,6 +484,24 @@ jobs:
480484 - name : Tests
481485 run : xvfb-run make test
482486
487+ build_tsan :
488+ name : ' Thread sanitizer'
489+ needs : check_source
490+ if : needs.check_source.outputs.run_tests == 'true'
491+ uses : ./.github/workflows/reusable-tsan.yml
492+ with :
493+ config_hash : ${{ needs.check_source.outputs.config_hash }}
494+ options : ./configure --config-cache --with-thread-sanitizer --with-pydebug
495+
496+ build_tsan_free_threading :
497+ name : ' Thread sanitizer (free-threading)'
498+ needs : check_source
499+ if : needs.check_source.outputs.run_tests == 'true'
500+ uses : ./.github/workflows/reusable-tsan.yml
501+ with :
502+ config_hash : ${{ needs.check_source.outputs.config_hash }}
503+ options : ./configure --config-cache --disable-gil --with-thread-sanitizer --with-pydebug
504+
483505 # CIFuzz job based on https://google.github.io/oss-fuzz/getting-started/continuous-integration/
484506 cifuzz :
485507 name : CIFuzz
@@ -538,6 +560,8 @@ jobs:
538560 - build_windows_free_threading
539561 - test_hypothesis
540562 - build_asan
563+ - build_tsan
564+ - build_tsan_free_threading
541565 - cifuzz
542566
543567 runs-on : ubuntu-latest
@@ -571,6 +595,8 @@ jobs:
571595 build_windows,
572596 build_windows_free_threading,
573597 build_asan,
598+ build_tsan,
599+ build_tsan_free_threading,
574600 '
575601 || ''
576602 }}
0 commit comments