Skip to content

Commit

Permalink
Update workflows for testing python/cpython#127369 (python/cpython#12…
Browse files Browse the repository at this point in the history
  • Loading branch information
junkmd committed Dec 10, 2024
1 parent 09e318e commit b202b27
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/testing-cpython-main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: Test comtypes with latest CPython
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

jobs:
Expand All @@ -10,8 +8,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Clone CPython repository
run: git clone --depth 1 https://github.com/python/cpython.git
- name: Download and Extract CPython Zip
run: |
$url = "https://github.com/encukou/cpython/archive/refs/heads/ctypes-deprecate-inprocserver.zip"
$output = "cpython.zip"
Invoke-WebRequest -Uri $url -OutFile $output
Expand-Archive -Path $output -DestinationPath .
Rename-Item -Path "cpython-ctypes-deprecate-inprocserver" -NewName "cpython"
- name: Build CPython
working-directory: ./cpython
run: PCbuild\build.bat -p x64 -c Release
Expand Down

0 comments on commit b202b27

Please sign in to comment.