Skip to content

Commit

Permalink
pythongh-101981: Update macOS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 authored and colesbury committed Feb 19, 2023
1 parent 602b61f commit fdc1aa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,10 +146,9 @@ jobs:
- uses: actions/checkout@v3
- name: Prepare homebrew environment variables
run: |
echo "LDFLAGS=-L$(brew --prefix tcl-tk)/lib" >> $GITHUB_ENV
echo "PKG_CONFIG_PATH=$(brew --prefix openssl@1.1)/lib/pkgconfig:$(brew --prefix tcl-tk)/lib/pkgconfig" >> $GITHUB_ENV
brew install pkg-config openssl@1.1 xz gdbm tcl-tk
- name: Configure CPython
run: ./configure --with-pydebug --prefix=/opt/python-dev
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)
- name: Build CPython
run: make -j4
- name: Display build info
Expand Down
2 changes: 2 additions & 0 deletions Lib/test/test_tools/test_freeze.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
from test.support import os_helper
from test.test_tools import imports_under_tool, skip_if_missing


support.requires('extralargefile','test requires extra disk spaces and a long time to run')
skip_if_missing('freeze')
with imports_under_tool('freeze', 'test'):
import freeze as helper
Expand Down

0 comments on commit fdc1aa9

Please sign in to comment.