runs-on: ubuntu-20.04
strategy:
+ fail-fast: false
matrix:
arch: [x86_64, i686, ppc64le, aarch64]
- pyver: [cp36, cp37, cp38, cp39]
+ pyver: [cp36, cp37, cp38, cp39, cp310]
steps:
- uses: actions/checkout@v2
run: python3 ./tools/build/copy_to_binary.py
- name: Build wheels
- uses: pypa/cibuildwheel@v1.12.0
+ uses: pypa/cibuildwheel@v2.1.2
with:
package-dir: psycopg_binary
env:
runs-on: macos-10.15
strategy:
+ fail-fast: false
matrix:
# These archs require an Apple M1 runner: [arm64, universal2]
arch: [x86_64]
- pyver: [cp36, cp37, cp38, cp39]
+ pyver: [cp36, cp37, cp38, cp39, cp310]
steps:
- uses: actions/checkout@v2
run: python3 ./tools/build/copy_to_binary.py
- name: Build wheels
- uses: pypa/cibuildwheel@v1.12.0
+ uses: pypa/cibuildwheel@v2.1.2
with:
package-dir: psycopg_binary
env:
runs-on: windows-2019
strategy:
+ fail-fast: false
matrix:
# Might want to add win32, untested at the moment.
arch: [win_amd64]
- pyver: [cp36, cp37, cp38, cp39]
+ pyver: [cp36, cp37, cp38, cp39, cp310]
steps:
- uses: actions/checkout@v2
run: python3 ./tools/build/copy_to_binary.py
- name: Build wheels
- uses: pypa/cibuildwheel@v1.12.0
+ uses: pypa/cibuildwheel@v2.1.2
with:
package-dir: psycopg_binary
env:
source /etc/os-release
echo "deb http://apt.postgresql.org/pub/repos/apt ${VERSION_CODENAME}-pgdg main" \
> /etc/apt/sources.list.d/pgdg.list
- curl --silent https://www.postgresql.org/media/keys/ACCC4CF8.asc \
+ # TODO: on 2021-09-30 curl fails with
+ # curl: (60) SSL certificate problem: certificate has expired
+ # Test again later if -k can be removed.
+ curl -sk https://www.postgresql.org/media/keys/ACCC4CF8.asc \
| apt-key add -
fi
apt-get update