8000 gh-101981: Make macOS CI as same as dev-guide · python/cpython@f9dbbf5 · GitHub
[go: up one dir, main page]

Skip to content

Commit f9dbbf5

Browse files
committed
gh-101981: Make macOS CI as same as dev-guide
1 parent 2713631 commit f9dbbf5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,11 @@ jobs:
160160
- name: Install Homebrew dependencies
161161
run: brew install pkg-config openssl@1.1 xz gdbm tcl-tk
162162
- name: Prepare Homebrew environment variables
163-
run: |
164-
echo "CFLAGS=-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" >> 73FB $GITHUB_ENV
165-
echo "LDFLAGS=-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" >> $GITHUB_ENV
166-
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
163+
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 --with-openssl=$(brew --prefix openssl@1.1)
167164
- name: Configure CPython
168165
run: |
169166
./configure \
170167
--with-pydebug \
171-
--prefix=/opt/python-dev \
172168
--with-openssl="$(brew --prefix openssl@1.1)"
173169
- name: Build CPython
174170
run: make -j4

0 commit comments

Comments
 (0)
0