summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-02-23 17:11:45 (GMT)
committerGitHub <noreply@github.com>2023-02-23 17:11:45 (GMT)
commit5e1bbb585be18a160fa3a4099cca8d95efc11552 (patch)
tree1637004ee6d8e60d986df662b8a2f8d13a6eba5b /.github
parent3cc00127a2f99915d6fa46c82c2fd46b1d4d603f (diff)
downloadcpython-5e1bbb585be18a160fa3a4099cca8d95efc11552.zip
cpython-5e1bbb585be18a160fa3a4099cca8d95efc11552.tar.gz
cpython-5e1bbb585be18a160fa3a4099cca8d95efc11552.tar.bz2
gh-101981: Consolidate macOS configure steps in CI (GH-102131)
(cherry picked from commit e07b304bb004e1298283c82bd135dd5ef96a90cc) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Automerge-Triggered-By: GH:erlend-aasland
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml8
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5dfc5e5..2df4cfb 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -195,13 +195,11 @@ jobs:
- uses: actions/checkout@v3
- name: Install Homebrew dependencies
run: brew install pkg-config openssl@1.1 xz gdbm tcl-tk
- - name: Prepare Homebrew environment variables
- run: |
- echo "CFLAGS=-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" >> $GITHUB_ENV
- echo "LDFLAGS=-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" >> $GITHUB_ENV
- echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
- name: Configure CPython
run: |
+ CFLAGS="-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" \
+ LDFLAGS="-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" \
+ PKG_CONFIG_PATH="$(brew --prefix tcl-tk)/lib/pkgconfig" \
./configure \
--with-pydebug \
--prefix=/opt/python-dev \