|
@@ -17,9 +17,9 @@ jobs:
|
|
|
shell: powershell
|
|
shell: powershell
|
|
|
run: |
|
|
run: |
|
|
|
$wc = New-Object System.Net.WebClient
|
|
$wc = New-Object System.Net.WebClient
|
|
|
- $wc.DownloadFile("https://www.panda3d.org/download/panda3d-1.10.4.1/panda3d-1.10.4.1-tools-win64.zip", "thirdparty-tools.zip")
|
|
|
|
|
|
|
+ $wc.DownloadFile("https://www.panda3d.org/download/panda3d-1.10.5/panda3d-1.10.5-tools-win64.zip", "thirdparty-tools.zip")
|
|
|
Expand-Archive -Path thirdparty-tools.zip
|
|
Expand-Archive -Path thirdparty-tools.zip
|
|
|
- Move-Item -Path thirdparty-tools/panda3d-1.10.4.1/thirdparty -Destination .
|
|
|
|
|
|
|
+ Move-Item -Path thirdparty-tools/panda3d-1.10.5/thirdparty -Destination .
|
|
|
- name: Get thirdparty packages (macOS)
|
|
- name: Get thirdparty packages (macOS)
|
|
|
if: runner.os == 'macOS'
|
|
if: runner.os == 'macOS'
|
|
|
run: |
|
|
run: |
|
|
@@ -28,6 +28,18 @@ jobs:
|
|
|
mv panda3d-1.10.5/thirdparty thirdparty
|
|
mv panda3d-1.10.5/thirdparty thirdparty
|
|
|
rmdir panda3d-1.10.5
|
|
rmdir panda3d-1.10.5
|
|
|
(cd thirdparty/darwin-libs-a && rm -rf rocket)
|
|
(cd thirdparty/darwin-libs-a && rm -rf rocket)
|
|
|
|
|
+ - name: Set up Python 3.8
|
|
|
|
|
+ uses: actions/setup-python@v1
|
|
|
|
|
+ with:
|
|
|
|
|
+ python-version: 3.8
|
|
|
|
|
+ - name: Build Python 3.8
|
|
|
|
|
+ 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
|
|
|
|
|
+ - name: Test Python 3.8
|
|
|
|
|
+ shell: bash
|
|
|
|
|
+ run: |
|
|
|
|
|
+ python -m pip install pytest
|
|
|
|
|
+ PYTHONPATH=built LD_LIBRARY_PATH=built/lib DYLD_LIBRARY_PATH=built/lib python -m pytest
|
|
|
- name: Set up Python 3.7
|
|
- name: Set up Python 3.7
|
|
|
uses: actions/setup-python@v1
|
|
uses: actions/setup-python@v1
|
|
|
with:
|
|
with:
|