mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 17:39:49 +03:00
Less changes
This commit is contained in:
parent
8adcdcb1f7
commit
4913603536
1
.github/workflows/m1.yml
vendored
1
.github/workflows/m1.yml
vendored
|
@ -1,4 +1,5 @@
|
||||||
---
|
---
|
||||||
|
# This is temporary; We will need to move to packages.yml
|
||||||
name: Build packages (M1)
|
name: Build packages (M1)
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
|
|
32
.github/workflows/packages.yml
vendored
32
.github/workflows/packages.yml
vendored
|
@ -3,7 +3,6 @@ name: Build packages
|
||||||
on:
|
on:
|
||||||
- workflow_dispatch
|
- workflow_dispatch
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-sdist:
|
build-sdist:
|
||||||
strategy:
|
strategy:
|
||||||
|
@ -51,7 +50,6 @@ jobs:
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
|
|
||||||
build-manylinux:
|
build-manylinux:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
@ -107,13 +105,12 @@ jobs:
|
||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 5
|
--health-retries 5
|
||||||
|
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-10.15
|
runs-on: macos-10.15
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.6', '3.7', '3.8', '3.9']
|
python-version: ["3.6", "3.7", "3.8", "3.9"]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repos
|
- name: Checkout repos
|
||||||
|
@ -137,30 +134,3 @@ jobs:
|
||||||
name: packages_macos
|
name: packages_macos
|
||||||
path: |
|
path: |
|
||||||
dist/*/*${{ matrix.platform }}.whl
|
dist/*/*${{ matrix.platform }}.whl
|
||||||
|
|
||||||
# This only uploads the arm64 wheels for Apple M1 Silicon usage
|
|
||||||
build-macos-arm64:
|
|
||||||
runs-on: macos-11.0
|
|
||||||
name: "build-macos (3.8-3.10, arm64)"
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Start postgresql service
|
|
||||||
# This skips updating brew when installing a package
|
|
||||||
env:
|
|
||||||
HOMEBREW_NO_AUTO_UPDATE: 1
|
|
||||||
run: |
|
|
||||||
brew services start postgresql
|
|
||||||
|
|
||||||
# This builds all possible Python versions (currently, 3.8 to 3.10)
|
|
||||||
- uses: pypa/cibuildwheel@v2.1.1
|
|
||||||
# Read about options here https://cibuildwheel.readthedocs.io/en/stable/options
|
|
||||||
env:
|
|
||||||
CIBW_ARCHS: arm64
|
|
||||||
# This allows substitution within setup.py
|
|
||||||
PACKAGE_NAME: psycopg2-binary
|
|
||||||
|
|
||||||
- name: Upload artifacts
|
|
||||||
uses: actions/upload-artifact@v2
|
|
||||||
with:
|
|
||||||
name: packages_macos_arm64
|
|
||||||
path: ./wheelhouse/*.whl
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user