summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2023-03-04 16:07:35 -0500
committerGitHub <noreply@github.com>2023-03-04 16:07:35 -0500
commit4812813fc6f2b509910af42cbc1da9a51aa6aa7e (patch)
tree930a76f4465dca1e6e999607accb54b880d12dce
parent7a3db0cf514f7a3bfb24d5e441cb62d785645b01 (diff)
downloadcpython-git-4812813fc6f2b509910af42cbc1da9a51aa6aa7e.tar.gz
[3.8] GH-102306 Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK (GH-102307)
[3.8] Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK.
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--Misc/NEWS.d/next/Build/2023-02-27-18-55-32.gh-issue-102306.bkokFL.rst2
2 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index e019e89928..c25df8136d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -129,7 +129,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Configure CPython
- run: ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev
+ run: SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk ./configure --with-pydebug --with-openssl=/usr/local/opt/openssl --prefix=/opt/python-dev
- name: Build CPython
run: make -j4
- name: Display build info
diff --git a/Misc/NEWS.d/next/Build/2023-02-27-18-55-32.gh-issue-102306.bkokFL.rst b/Misc/NEWS.d/next/Build/2023-02-27-18-55-32.gh-issue-102306.bkokFL.rst
new file mode 100644
index 0000000000..c51319bee4
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2023-02-27-18-55-32.gh-issue-102306.bkokFL.rst
@@ -0,0 +1,2 @@
+[3.8] Avoid GHA CI macOS test_posix failure by using the appropriate macOS
+SDK.