Skip to content

Commit fdc1aa9

Browse files
corona10colesbury
authored andcommitted
pythongh-101981: Update macOS workflow
1 parent 602b61f commit fdc1aa9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,10 +146,9 @@ jobs:
146146
- uses: actions/checkout@v3
147147
- name: Prepare homebrew environment variables
148148
run: |
149-
echo "LDFLAGS=-L$(brew --prefix tcl-tk)/lib" >> $GITHUB_ENV
150-
echo "PKG_CONFIG_PATH=$(brew --prefix [email protected])/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
149+
brew install pkg-config [email protected] xz gdbm tcl-tk
151150
- name: Configure CPython
152-
run: ./configure --with-pydebug --prefix=/opt/python-dev
151+
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])
153152
- name: Build CPython
154153
run: make -j4
155154
- name: Display build info

Lib/test/test_tools/test_freeze.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
from test.support import os_helper
99
from test.test_tools import imports_under_tool, skip_if_missing
1010

11+
12+
support.requires('extralargefile','test requires extra disk spaces and a long time to run')
1113
skip_if_missing('freeze')
1214
with imports_under_tool('freeze', 'test'):
1315
import freeze as helper

0 commit comments

Comments
 (0)