]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: configure in order to build only Python 3.11 packages for macOS x86_64
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 26 Oct 2022 22:49:04 +0000 (00:49 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 26 Oct 2022 22:50:30 +0000 (00:50 +0200)
The required image was not available at the time of building other
packages. See #424.

.github/workflows/packages.yml

index cd288e751feec7e183ce0010feeb3f0fd46db466..b250313cb21a45f0a5ff927a4d65937cf4631465 100644 (file)
@@ -9,6 +9,7 @@ jobs:
 
   sdist:  # {{{
     runs-on: ubuntu-latest
+    if: false
 
     strategy:
       fail-fast: false
@@ -79,6 +80,7 @@ jobs:
 
   linux:  # {{{
     runs-on: ubuntu-latest
+    if: false
 
     env:
       LIBPQ_VERSION: "15.0"
@@ -163,15 +165,15 @@ jobs:
 
   macos:  # {{{
     runs-on: macos-latest
+    if: true
 
     strategy:
       fail-fast: false
       matrix:
         # These archs require an Apple M1 runner: [arm64, universal2]
         arch: [x86_64]
-        # TODO: cp311 not available yet on Github runners. See #424
-        # pyver: [cp37, cp38, cp39, cp310, cp311]
-        pyver: [cp37, cp38, cp39, cp310]
+        # pyver: [cp37, cp38, cp39, cp310]
+        pyver: [cp311]
 
     steps:
       - uses: actions/checkout@v3
@@ -205,6 +207,7 @@ jobs:
 
   windows:  # {{{
     runs-on: windows-latest
+    if: false
 
     strategy:
       fail-fast: false