|
|
@@ -20,30 +20,27 @@ jobs:
|
|
|
shell: powershell
|
|
|
run: |
|
|
|
$wc = New-Object System.Net.WebClient
|
|
|
- $wc.DownloadFile("https://www.panda3d.org/download/panda3d-1.10.13/panda3d-1.10.13-tools-win64.zip", "thirdparty-tools.zip")
|
|
|
+ $wc.DownloadFile("https://www.panda3d.org/download/panda3d-1.10.14/panda3d-1.10.14-tools-win64.zip", "thirdparty-tools.zip")
|
|
|
Expand-Archive -Path thirdparty-tools.zip
|
|
|
- Move-Item -Path thirdparty-tools/panda3d-1.10.13/thirdparty -Destination .
|
|
|
+ Move-Item -Path thirdparty-tools/panda3d-1.10.14/thirdparty -Destination .
|
|
|
- name: Get thirdparty packages (macOS)
|
|
|
if: runner.os == 'macOS'
|
|
|
run: |
|
|
|
- curl -O https://www.panda3d.org/download/panda3d-1.10.13/panda3d-1.10.13-tools-mac.tar.gz
|
|
|
- tar -xf panda3d-1.10.13-tools-mac.tar.gz
|
|
|
- mv panda3d-1.10.13/thirdparty thirdparty
|
|
|
- rmdir panda3d-1.10.13
|
|
|
+ curl -O https://www.panda3d.org/download/panda3d-1.10.14/panda3d-1.10.14-tools-mac.tar.gz
|
|
|
+ tar -xf panda3d-1.10.14-tools-mac.tar.gz
|
|
|
+ mv panda3d-1.10.14/thirdparty thirdparty
|
|
|
+ rmdir panda3d-1.10.14
|
|
|
(cd thirdparty/darwin-libs-a && rm -rf rocket)
|
|
|
|
|
|
- name: Set up Python 3.12
|
|
|
- if: matrix.os != 'windows-2019'
|
|
|
uses: actions/setup-python@v4
|
|
|
with:
|
|
|
python-version: '3.12'
|
|
|
- name: Build Python 3.12
|
|
|
- if: matrix.os != 'windows-2019'
|
|
|
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
|
|
|
- name: Test Python 3.12
|
|
|
- if: matrix.os != 'windows-2019'
|
|
|
shell: bash
|
|
|
run: |
|
|
|
python -m pip install pytest setuptools
|