Skip to content

Delphi 12.2.1 update #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 27 additions & 19 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build and Install VCL
run: |
Expand All @@ -38,33 +38,35 @@ jobs:
- name: Cache Stubs
id: cache-stubs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .\delphivcl\__init__.pyi
key: ${{ runner.os }}-stubs
key: ${{ runner.os }}-cache-${{ hashFiles('.\delphivcl\*') }}

build_wheels_win_32:
name: Build Windows x86 wheels for Python ${{ matrix.python }}
needs: [build_stubs]
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
include:
- os: [windows-latest]
arch: ["x86"]
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Restore Cached Stubs
id: cache-stubs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .\delphivcl\__init__.pyi
key: ${{ runner.os }}-stubs
key: ${{ runner.os }}-cache-${{ hashFiles('.\delphivcl\*') }}
restore-keys: |
${{ runner.os }}-cache-
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v3
Expand All @@ -79,18 +81,19 @@ jobs:
python setup.py bdist_wheel --plat-name=win32
- name: Save wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts-win32-${{ matrix.python }}
path: dist/*.whl
if-no-files-found: error
if-no-files-found: error

build_wheels_win_64:
name: Build Windows x64 wheels for Python ${{ matrix.python }}
needs: [build_stubs]
runs-on: ${{ matrix.os }}
strategy:
matrix:
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
include:
- os: [windows-latest]
arch: ["AMD64"]
Expand All @@ -102,10 +105,12 @@ jobs:

- name: Restore Cached Stubs
id: cache-stubs
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .\delphivcl\__init__.pyi
key: ${{ runner.os }}-stubs
key: ${{ runner.os }}-cache-${{ hashFiles('.\delphivcl\*') }}
restore-keys: |
${{ runner.os }}-cache-
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v3
Expand All @@ -114,16 +119,17 @@ jobs:
architecture: "x64"

- name: Build bdist wheel
run: |
run: |
python -m pip install setuptools --upgrade
python -m pip install wheel --upgrade
python setup.py bdist_wheel --plat-name=win_amd64
- name: Save wheel
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: artifacts-win64-${{ matrix.python }}
path: dist/*.whl
if-no-files-found: error
if-no-files-found: error

upload_pypi_test:
name: Upload to PyPI test
Expand All @@ -136,10 +142,11 @@ jobs:
id-token: write
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: artifacts-*
path: dist
merge-multiple: true

- name: Publish package to TestPyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand All @@ -157,10 +164,11 @@ jobs:
id-token: write
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: artifact
pattern: artifacts-*
path: dist
merge-multiple: true

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
2 changes: 1 addition & 1 deletion .github/workflows/sphinx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
docs:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v3
- uses: ts-graphviz/setup-graphviz@v1
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
config:
- { os: windows-latest, arch: AMD64, python-arch: x64, name: windows-latest-x64 }
- { os: windows-latest, arch: x86, python-arch: x86, name: windows-latest-x86 }
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11']
python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
steps:
- name: Check out repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v3
Expand Down
Binary file modified lib/Win32/DelphiVCL.pyd
Binary file not shown.
Binary file modified lib/Win64/DelphiVCL.pyd
Binary file not shown.
Loading