summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Deily <nad@python.org>2023-04-09 20:13:44 -0400
committerGitHub <noreply@github.com>2023-04-09 20:13:44 -0400
commit7522ff72484fab740a85f27f2326336906a69674 (patch)
tree788a87801a1919868542bf33e47a842ae5f84838
parent00d1d3278448503bec6f28527b707d301e937756 (diff)
downloadcpython-git-3.7.tar.gz
[3.7] GH-102306 Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK. (GH-102427)3.7
Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
-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.rst1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index a1f63747aa..1494363196 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -128,7 +128,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..ba331a06be
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2023-02-27-18-55-32.gh-issue-102306.bkokFL.rst
@@ -0,0 +1 @@
+Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK.