mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-07-29 17:39:49 +03:00
One more try
This commit is contained in:
parent
9fc985b3da
commit
8adcdcb1f7
10
.github/workflows/m1.yml
vendored
10
.github/workflows/m1.yml
vendored
|
@ -3,7 +3,6 @@ name: Build packages (M1)
|
||||||
on:
|
on:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
# This only uploads the arm64 wheels for Apple M1 Silicon usage
|
# This only uploads the arm64 wheels for Apple M1 Silicon usage
|
||||||
build-macos-arm64:
|
build-macos-arm64:
|
||||||
|
@ -23,7 +22,7 @@ jobs:
|
||||||
# Read about options here https://cibuildwheel.readthedocs.io/en/stable/options
|
# Read about options here https://cibuildwheel.readthedocs.io/en/stable/options
|
||||||
env:
|
env:
|
||||||
CIBW_ARCHS: arm64
|
CIBW_ARCHS: arm64
|
||||||
# XXX: temp: faster
|
# XXX: temp: only one version to build
|
||||||
CIBW_BUILD: cp39-macosx_arm64
|
CIBW_BUILD: cp39-macosx_arm64
|
||||||
# It silences a warning since we can't test on Apple Silicon runners
|
# It silences a warning since we can't test on Apple Silicon runners
|
||||||
CIBW_TEST_SKIP: "*-macosx_arm64"
|
CIBW_TEST_SKIP: "*-macosx_arm64"
|
||||||
|
@ -32,6 +31,7 @@ jobs:
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
ls -l
|
ls -l
|
||||||
|
ls -l wheelhouse
|
||||||
|
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
|
@ -40,11 +40,11 @@ jobs:
|
||||||
path: ./wheelhouse/*.whl
|
path: ./wheelhouse/*.whl
|
||||||
|
|
||||||
build-macos:
|
build-macos:
|
||||||
runs-on: macos-10.15
|
runs-on: macos-11.0
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ['3.8']
|
python-version: "3.8"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repos
|
- name: Checkout repos
|
||||||
|
@ -61,6 +61,8 @@ jobs:
|
||||||
PACKAGE_NAME: psycopg2-binary
|
PACKAGE_NAME: psycopg2-binary
|
||||||
PSYCOPG2_TESTDB: postgres
|
PSYCOPG2_TESTDB: postgres
|
||||||
PSYCOPG2_TEST_FAST: 1
|
PSYCOPG2_TEST_FAST: 1
|
||||||
|
ARCHFLAGS: "-arch arm64"
|
||||||
|
_PYTHON_HOST_PLATFORM: macosx-11.0-arm64
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
ls -l
|
ls -l
|
||||||
|
|
Loading…
Reference in New Issue
Block a user