]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-103726: Set up gcc-10 for ASAN (gh-103728)
authorDong-hee Na <donghee.na@python.org>
Tue, 25 Apr 2023 12:13:36 +0000 (21:13 +0900)
committerGitHub <noreply@github.com>
Tue, 25 Apr 2023 12:13:36 +0000 (12:13 +0000)
<!--
Thanks for your contribution!
Please read this comment in its entirety. It's quite important.

# 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.

# 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 -->

.github/workflows/build.yml

index 7eba212cbb9a6a869acdc11d85aa61c65ecafc30..df0f107a541614da98d8a0625afb4d159750ba4c 100644 (file)
@@ -308,6 +308,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