|
@@ -31,10 +31,39 @@ jobs:
|
|
|
mv panda3d-1.10.13/thirdparty thirdparty
|
|
mv panda3d-1.10.13/thirdparty thirdparty
|
|
|
rmdir panda3d-1.10.13
|
|
rmdir panda3d-1.10.13
|
|
|
(cd thirdparty/darwin-libs-a && rm -rf rocket)
|
|
(cd thirdparty/darwin-libs-a && rm -rf rocket)
|
|
|
|
|
+
|
|
|
|
|
+ - name: Set up Python 3.11
|
|
|
|
|
+ uses: actions/setup-python@v4
|
|
|
|
|
+ with:
|
|
|
|
|
+ python-version: '3.11'
|
|
|
|
|
+ - name: Build Python 3.11
|
|
|
|
|
+ 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.11
|
|
|
|
|
+ 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.10
|
|
|
|
|
+ uses: actions/setup-python@v4
|
|
|
|
|
+ with:
|
|
|
|
|
+ python-version: '3.10'
|
|
|
|
|
+ - name: Build Python 3.10
|
|
|
|
|
+ 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.10
|
|
|
|
|
+ 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.9
|
|
- name: Set up Python 3.9
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
|
|
|
+ uses: actions/setup-python@v4
|
|
|
with:
|
|
with:
|
|
|
- python-version: 3.9
|
|
|
|
|
|
|
+ python-version: '3.9'
|
|
|
- name: Build Python 3.9
|
|
- name: Build Python 3.9
|
|
|
shell: bash
|
|
shell: bash
|
|
|
run: |
|
|
run: |
|
|
@@ -44,10 +73,11 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
python -m pip install pytest
|
|
python -m pip install pytest
|
|
|
PYTHONPATH=built LD_LIBRARY_PATH=built/lib DYLD_LIBRARY_PATH=built/lib python -m pytest
|
|
PYTHONPATH=built LD_LIBRARY_PATH=built/lib DYLD_LIBRARY_PATH=built/lib python -m pytest
|
|
|
|
|
+
|
|
|
- name: Set up Python 3.8
|
|
- name: Set up Python 3.8
|
|
|
- uses: actions/setup-python@v2
|
|
|
|
|
|
|
+ uses: actions/setup-python@v4
|
|
|
with:
|
|
with:
|
|
|
- python-version: 3.8
|
|
|
|
|
|
|
+ python-version: '3.8'
|
|
|
- name: Build Python 3.8
|
|
- name: Build Python 3.8
|
|
|
shell: bash
|
|
shell: bash
|
|
|
run: |
|
|
run: |
|
|
@@ -57,10 +87,11 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
python -m pip install pytest
|
|
python -m pip install pytest
|
|
|
PYTHONPATH=built LD_LIBRARY_PATH=built/lib DYLD_LIBRARY_PATH=built/lib python -m 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@v2
|
|
|
|
|
|
|
+ uses: actions/setup-python@v4
|
|
|
with:
|
|
with:
|
|
|
- python-version: 3.7
|
|
|
|
|
|
|
+ python-version: '3.7'
|
|
|
- name: Build Python 3.7
|
|
- name: Build Python 3.7
|
|
|
shell: bash
|
|
shell: bash
|
|
|
run: |
|
|
run: |
|
|
@@ -70,6 +101,7 @@ jobs:
|
|
|
run: |
|
|
run: |
|
|
|
python -m pip install pytest
|
|
python -m pip install pytest
|
|
|
PYTHONPATH=built LD_LIBRARY_PATH=built/lib DYLD_LIBRARY_PATH=built/lib python -m pytest
|
|
PYTHONPATH=built LD_LIBRARY_PATH=built/lib DYLD_LIBRARY_PATH=built/lib python -m pytest
|
|
|
|
|
+
|
|
|
- name: Make installer
|
|
- name: Make installer
|
|
|
run: |
|
|
run: |
|
|
|
python makepanda/makepackage.py --verbose --lzma
|
|
python makepanda/makepackage.py --verbose --lzma
|