]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-103726: Set up gcc-10 for ASAN (gh-103728) (#104794)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 23 May 2023 08:10:44 +0000 (01:10 -0700)
committerGitHub <noreply@github.com>
Tue, 23 May 2023 08:10:44 +0000 (08:10 +0000)
Set up gcc-10 for ASAN CI as the existing config's default 9.x does not
play well with `vfork()`.

<!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.

GH- Pull Request title

It should be in the following format:

```
gh-NNNNN: Summary of the changes made
```

Where: gh-NNNNN refers to the GitHub issue number.

Most PRs will require an issue number. Trivial changes, like fixing a
typo, do not need an issue.

GH- Backport Pull Request title

If this is a backport PR (PR made against branches other than `main`),
please ensure that the PR title is in the following format:

```
[X.Y] <title from the original PR> (GH-NNNN)
```

Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from `main`.

-->

<!-- gh-issue-number: gh-103726 -->
* Issue: gh-103726
<!-- /gh-issue-number -->
(cherry picked from commit 83305808000e03cbad31ac3e9ef65454fb409282)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
.github/workflows/build.yml

index 597797f73585dc126d5ee73cbbd6aa4a28e07365..93dcb3f5f41437438603618db884b3a6b39bdbeb 100644 (file)
@@ -338,6 +338,10 @@ jobs:
       run: echo "::add-matcher::.github/problem-matchers/gcc.json"
     - name: Install Dependencies
       run: sudo ./.github/workflows/posix-deps-apt.sh
+    - name: Set up GCC-10 for ASAN
+      uses: egor-tensin/setup-gcc@v1
+      with:
+        version: 10
     - name: Configure OpenSSL env vars
       run: |
         echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> $GITHUB_ENV