diff options
author | Erlend E. Aasland <erlend.aasland@protonmail.com> | 2023-02-23 15:02:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 15:02:23 (GMT) |
commit | e07b304bb004e1298283c82bd135dd5ef96a90cc (patch) | |
tree | e7f2c33de02195681c24bf7e7bcfc021fabafa52 /.github/workflows/build.yml | |
parent | c3a178398c199038f3a0891d09f0363ec73f3b38 (diff) | |
download | cpython-e07b304bb004e1298283c82bd135dd5ef96a90cc.zip cpython-e07b304bb004e1298283c82bd135dd5ef96a90cc.tar.gz cpython-e07b304bb004e1298283c82bd135dd5ef96a90cc.tar.bz2 |
gh-101981: Consolidate macOS configure steps in CI (GH-102131)
Automerge-Triggered-By: GH:erlend-aasland
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r-- | .github/workflows/build.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eec11e2..2241b0b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -162,13 +162,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 \ |