Skip to content

Commit 2bbcef1

Browse files
corona10hugovk
authored andcommitted
pythongh-101981: Make macOS CI as same as dev-guide
1 parent 02d9f15 commit 2bbcef1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/build.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,11 @@ jobs:
163163
- name: Install Homebrew dependencies
164164
run: brew install pkg-config [email protected] xz gdbm tcl-tk
165165
- name: Prepare Homebrew environment variables
166-
run: |
167-
echo "CFLAGS=-I$(brew --prefix gdbm)/include -I$(brew --prefix xz)/include" >> $GITHUB_ENV
168-
echo "LDFLAGS=-L$(brew --prefix gdbm)/lib -I$(brew --prefix xz)/lib" >> $GITHUB_ENV
169-
echo "PKG_CONFIG_PATH=$(brew --prefix [email protected])/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
166+
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 [email protected])
170167
- name: Configure CPython
171168
run: |
172169
./configure \
173170
--with-pydebug \
174-
--prefix=/opt/python-dev \
175171
--with-openssl="$(brew --prefix [email protected])"
176172
- name: Build CPython
177173
run: make -j4

0 commit comments

Comments
 (0)