Skip to content

Commit

Permalink
drop me: Disable all but macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
bwoodsend committed Jan 5, 2025
1 parent 4b2d3e1 commit 07946c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:

jobs:
sdist: # {{{
if: true
if: false
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
# }}}

linux: # {{{
if: true
if: false

strategy:
fail-fast: false
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
matrix:
# These archs require an Apple M1 runner: [arm64, universal2]
arch: [x86_64, arm64]
pyver: [cp39, cp310, cp311, cp312, cp313]
pyver: [cp39]#, cp310, cp311, cp312, cp313]

steps:
- name: Checkout repos
Expand All @@ -157,7 +157,6 @@ jobs:
env:
CIBW_BUILD: ${{matrix.pyver}}-macosx_${{matrix.arch}}
CIBW_ARCHS_MACOS: ${{matrix.arch}}
MACOSX_ARCHITECTURE: ${{matrix.arch}}
CIBW_BEFORE_ALL_MACOS: ./scripts/build/wheel_macos_before_all.sh
CIBW_TEST_COMMAND: >-
export PYTHONPATH={project} &&
Expand All @@ -167,6 +166,7 @@ jobs:
PACKAGE_NAME=psycopg2-binary
PSYCOPG2_TESTDB=postgres
PATH="/tmp/libpq.build/bin:$PATH"
MACOSX_ARCHITECTURE=${{matrix.arch}}
- name: Upload artifacts
uses: actions/upload-artifact@v4
Expand All @@ -178,7 +178,7 @@ jobs:

windows: # {{{
runs-on: windows-latest
if: true
if: false

strategy:
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion scripts/build/build_libpq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ case "$ID" in
# it, force use of system curl.
brew uninstall --force --ignore-dependencies openssl gettext
curl="/usr/bin/curl"
if [ -z "MACOSX_ARCHITECTURE" ]; then
if [ -z "$MACOSX_ARCHITECTURE" ]; then
MACOSX_ARCHITECTURE="$(uname -m)"
fi
# Set the deployment target to be <= to that of the oldest supported Python version.
Expand Down

0 comments on commit 07946c0

Please sign in to comment.