Skip to content
Prev Previous commit
Revert to the gcc
  • Loading branch information
corona10 committed Mar 10, 2024
commit cade95e59f97cccb16d9d5f1259685bf57b1117b
16 changes: 4 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment on lines +485 to +488
Copy link
Contributor

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"

- name: Configure CPython
run: ./configure --config-cache --disable-gil --with-mimalloc --with-thread-sanitizer
run: ./configure --disable-gil --with-thread-sanitizer
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want --with-pydebug?

- name: Build CPython
run: make -j4
- name: Display build info
Expand Down