psycopg2/.appveyor/packages.yml

84 lines
2.1 KiB
YAML
Raw Normal View History

2022-10-25 13:54:34 +03:00
version: 2.x.{build}
clone_folder: C:\Project
# We use the configuration to specify the package name
configuration:
- psycopg2
- psycopg2-binary
environment:
2022-10-25 13:54:34 +03:00
matrix:
# For Python versions available on Appveyor, see
# https://www.appveyor.com/docs/windows-images-software/#python
2023-10-03 12:28:43 +03:00
- {PY_VER: "312", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "312", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "311", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "311", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "310", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "310", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "39", PY_ARCH: "32", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
- {PY_VER: "39", PY_ARCH: "64", APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019}
2022-10-25 13:54:34 +03:00
WORKFLOW: packages
OPENSSL_VERSION: "1_1_1w"
POSTGRES_VERSION: "16_0"
2022-10-25 13:54:34 +03:00
PSYCOPG2_TESTDB: psycopg2_test
PSYCOPG2_TESTDB_USER: postgres
PSYCOPG2_TESTDB_HOST: localhost
PGUSER: postgres
PGPASSWORD: Password12!
PGSSLMODE: require
# Add CWD to perl library path for PostgreSQL build on VS2019
PERL5LIB: .
# Select according to the service enabled
POSTGRES_DIR: C:\Program Files\PostgreSQL\13\
2022-10-25 13:54:34 +03:00
matrix:
2022-10-25 13:54:34 +03:00
fast_finish: false
services:
2022-10-25 13:54:34 +03:00
# Note: if you change this service also change POSTGRES_DIR
- postgresql13
cache:
# Rebuild cache if following file changes
# (See the file to zap the cache manually)
- C:\Others -> .appveyor\cache_rebuild
# Script called before repo cloning
# init:
# Repository gets cloned, Cache is restored
2019-04-15 04:07:03 +03:00
install:
2024-10-05 10:29:06 +03:00
- "py scripts\\build\\appveyor.py install"
2019-04-15 04:07:03 +03:00
# PostgreSQL server starts now
2022-10-25 13:54:34 +03:00
build: "off"
build_script:
2024-10-05 10:29:06 +03:00
- "py scripts\\build\\appveyor.py build_script"
2019-04-15 04:07:03 +03:00
2019-04-15 04:26:18 +03:00
after_build:
2024-10-05 10:29:06 +03:00
- "py scripts\\build\\appveyor.py after_build"
before_test:
2024-10-05 10:29:06 +03:00
- "py scripts\\build\\appveyor.py before_test"
test_script:
2024-10-05 10:29:06 +03:00
- "py scripts\\build\\appveyor.py test_script"
artifacts:
2022-10-25 13:54:34 +03:00
- path: dist\psycopg2-*\*.whl
name: wheel
# vim: set ts=4 sts=4 sw=4: