Ver código fonte

workflow: Add Python 3.14 to test matrix

rdb 2 semanas atrás
pai
commit
4732c247fe
1 arquivos alterados com 14 adições e 0 exclusões
  1. 14 0
      .github/workflows/ci.yml

+ 14 - 0
.github/workflows/ci.yml

@@ -32,6 +32,20 @@ jobs:
         rmdir panda3d-1.10.16
         (cd thirdparty/darwin-libs-a && rm -rf rocket)
 
+    - name: Set up Python 3.14
+      uses: actions/setup-python@v5
+      with:
+        python-version: '3.14'
+    - name: Build Python 3.14
+      shell: bash
+      run: |
+        python makepanda/makepanda.py --git-commit=${{github.sha}} --outputdir=built --everything --no-eigen --python-incdir="$pythonLocation/include" --python-libdir="$pythonLocation/lib" --verbose --threads=4 --windows-sdk=10 --msvc-version=14.3
+    - name: Test Python 3.14
+      shell: bash
+      run: |
+        python -m pip install pytest setuptools
+        PYTHONPATH=built LD_LIBRARY_PATH=built/lib:$pythonLocation/lib DYLD_LIBRARY_PATH=built/lib python -m pytest
+
     - name: Set up Python 3.13
       uses: actions/setup-python@v5
       with: