[Python-checkins] gh-101981: Consolidate macOS configure steps in CI (GH-102131)
miss-islington
webhook-mailer at python.org
Thu Feb 23 12:12:20 EST 2023
https://github.com/python/cpython/commit/9a0116d35ceb5d4a01546da7fc2ad329282579b3
commit: 9a0116d35ceb5d4a01546da7fc2ad329282579b3
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-02-23T09:12:13-08:00
summary:
gh-101981: Consolidate macOS configure steps in CI (GH-102131)
(cherry picked from commit e07b304bb004e1298283c82bd135dd5ef96a90cc)
Co-authored-by: Erlend E. Aasland <erlend.aasland at protonmail.com>
Automerge-Triggered-By: GH:erlend-aasland
files:
M .github/workflows/build.yml
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1686c172e2a3..ac0dd2b84bb4 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -182,13 +182,11 @@ jobs:
- uses: actions/checkout at v3
- name: Install Homebrew dependencies
run: brew install pkg-config openssl at 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 at 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 \
More information about the Python-checkins
mailing list