|
@@ -40,7 +40,7 @@ jobs:
|
|
|
eigen: NO
|
|
eigen: NO
|
|
|
|
|
|
|
|
- profile: macos-eigen-coverage-unity-xcode
|
|
- profile: macos-eigen-coverage-unity-xcode
|
|
|
- os: macOS-latest
|
|
|
|
|
|
|
+ os: macOS-10.15
|
|
|
config: Coverage
|
|
config: Coverage
|
|
|
unity: YES
|
|
unity: YES
|
|
|
generator: Xcode
|
|
generator: Xcode
|
|
@@ -50,7 +50,7 @@ jobs:
|
|
|
eigen: YES
|
|
eigen: YES
|
|
|
|
|
|
|
|
- profile: macos-nometa-standard-makefile
|
|
- profile: macos-nometa-standard-makefile
|
|
|
- os: macOS-latest
|
|
|
|
|
|
|
+ os: macOS-10.15
|
|
|
config: Standard
|
|
config: Standard
|
|
|
unity: NO
|
|
unity: NO
|
|
|
generator: Unix Makefiles
|
|
generator: Unix Makefiles
|
|
@@ -92,10 +92,10 @@ jobs:
|
|
|
- name: Install dependencies (macOS)
|
|
- name: Install dependencies (macOS)
|
|
|
if: runner.os == 'macOS'
|
|
if: runner.os == 'macOS'
|
|
|
run: |
|
|
run: |
|
|
|
- curl -O https://www.panda3d.org/download/panda3d-1.10.9/panda3d-1.10.9-tools-mac.tar.gz
|
|
|
|
|
- tar -xf panda3d-1.10.9-tools-mac.tar.gz
|
|
|
|
|
- mv panda3d-1.10.9/thirdparty thirdparty
|
|
|
|
|
- rmdir panda3d-1.10.9
|
|
|
|
|
|
|
+ curl -O https://www.panda3d.org/download/panda3d-1.10.10/panda3d-1.10.10-tools-mac.tar.gz
|
|
|
|
|
+ tar -xf panda3d-1.10.10-tools-mac.tar.gz
|
|
|
|
|
+ mv panda3d-1.10.10/thirdparty thirdparty
|
|
|
|
|
+ rmdir panda3d-1.10.10
|
|
|
|
|
|
|
|
# Temporary hack so that pzip can run, since we are about to remove Cg anyway.
|
|
# Temporary hack so that pzip can run, since we are about to remove Cg anyway.
|
|
|
install_name_tool -id "$(pwd)/thirdparty/darwin-libs-a/nvidiacg/lib/libCg.dylib" thirdparty/darwin-libs-a/nvidiacg/lib/libCg.dylib
|
|
install_name_tool -id "$(pwd)/thirdparty/darwin-libs-a/nvidiacg/lib/libCg.dylib" thirdparty/darwin-libs-a/nvidiacg/lib/libCg.dylib
|
|
@@ -124,16 +124,16 @@ jobs:
|
|
|
uses: actions/cache@v1
|
|
uses: actions/cache@v1
|
|
|
with:
|
|
with:
|
|
|
path: thirdparty
|
|
path: thirdparty
|
|
|
- key: ci-cmake-${{ runner.OS }}-thirdparty-v1.10.9-r1
|
|
|
|
|
|
|
+ key: ci-cmake-${{ runner.OS }}-thirdparty-v1.10.10-r1
|
|
|
- name: Install dependencies (Windows)
|
|
- name: Install dependencies (Windows)
|
|
|
if: runner.os == 'Windows'
|
|
if: runner.os == 'Windows'
|
|
|
shell: powershell
|
|
shell: powershell
|
|
|
run: |
|
|
run: |
|
|
|
if (!(Test-Path thirdparty/win-libs-vc14-x64)) {
|
|
if (!(Test-Path thirdparty/win-libs-vc14-x64)) {
|
|
|
$wc = New-Object System.Net.WebClient
|
|
$wc = New-Object System.Net.WebClient
|
|
|
- $wc.DownloadFile("https://www.panda3d.org/download/panda3d-1.10.9/panda3d-1.10.9-tools-win64.zip", "thirdparty-tools.zip")
|
|
|
|
|
|
|
+ $wc.DownloadFile("https://www.panda3d.org/download/panda3d-1.10.10/panda3d-1.10.10-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.9/thirdparty -Destination .
|
|
|
|
|
|
|
+ Move-Item -Path thirdparty-tools/panda3d-1.10.10/thirdparty -Destination .
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- name: ccache (non-Windows)
|
|
- name: ccache (non-Windows)
|
|
@@ -186,7 +186,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Setup Python (Python 3.6)
|
|
- name: Setup Python (Python 3.6)
|
|
|
if: contains(matrix.python, 'YES')
|
|
if: contains(matrix.python, 'YES')
|
|
|
- uses: actions/setup-python@v1
|
|
|
|
|
|
|
+ uses: actions/setup-python@v2
|
|
|
with:
|
|
with:
|
|
|
python-version: 3.6
|
|
python-version: 3.6
|
|
|
- name: Configure (Python 3.6)
|
|
- name: Configure (Python 3.6)
|
|
@@ -218,7 +218,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Setup Python (Python 3.7)
|
|
- name: Setup Python (Python 3.7)
|
|
|
if: contains(matrix.python, 'YES')
|
|
if: contains(matrix.python, 'YES')
|
|
|
- uses: actions/setup-python@v1
|
|
|
|
|
|
|
+ uses: actions/setup-python@v2
|
|
|
with:
|
|
with:
|
|
|
python-version: 3.7
|
|
python-version: 3.7
|
|
|
- name: Configure (Python 3.7)
|
|
- name: Configure (Python 3.7)
|
|
@@ -250,7 +250,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Setup Python (Python 3.8)
|
|
- name: Setup Python (Python 3.8)
|
|
|
if: contains(matrix.python, 'YES')
|
|
if: contains(matrix.python, 'YES')
|
|
|
- uses: actions/setup-python@v1
|
|
|
|
|
|
|
+ uses: actions/setup-python@v2
|
|
|
with:
|
|
with:
|
|
|
python-version: 3.8
|
|
python-version: 3.8
|
|
|
- name: Configure (Python 3.8)
|
|
- name: Configure (Python 3.8)
|
|
@@ -282,7 +282,7 @@ jobs:
|
|
|
|
|
|
|
|
- name: Setup Python (Python 3.9)
|
|
- name: Setup Python (Python 3.9)
|
|
|
if: contains(matrix.python, 'YES')
|
|
if: contains(matrix.python, 'YES')
|
|
|
- uses: actions/setup-python@v1
|
|
|
|
|
|
|
+ uses: actions/setup-python@v2
|
|
|
with:
|
|
with:
|
|
|
python-version: 3.9
|
|
python-version: 3.9
|
|
|
- name: Configure (Python 3.9)
|
|
- name: Configure (Python 3.9)
|
|
@@ -333,7 +333,7 @@ jobs:
|
|
|
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
|
|
if: "!contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[ci skip]')"
|
|
|
strategy:
|
|
strategy:
|
|
|
matrix:
|
|
matrix:
|
|
|
- os: [ubuntu-18.04, windows-2016, macOS-latest]
|
|
|
|
|
|
|
+ os: [ubuntu-18.04, windows-2016, macOS-10.15]
|
|
|
runs-on: ${{ matrix.os }}
|
|
runs-on: ${{ matrix.os }}
|
|
|
steps:
|
|
steps:
|
|
|
- uses: actions/checkout@v1
|
|
- uses: actions/checkout@v1
|
|
@@ -347,19 +347,19 @@ 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.9/panda3d-1.10.9-tools-win64.zip", "thirdparty-tools.zip")
|
|
|
|
|
|
|
+ $wc.DownloadFile("https://www.panda3d.org/download/panda3d-1.10.10/panda3d-1.10.10-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.9/thirdparty -Destination .
|
|
|
|
|
|
|
+ Move-Item -Path thirdparty-tools/panda3d-1.10.10/thirdparty -Destination .
|
|
|
- name: Get thirdparty packages (macOS)
|
|
- name: Get thirdparty packages (macOS)
|
|
|
if: runner.os == 'macOS'
|
|
if: runner.os == 'macOS'
|
|
|
run: |
|
|
run: |
|
|
|
- curl -O https://www.panda3d.org/download/panda3d-1.10.9/panda3d-1.10.9-tools-mac.tar.gz
|
|
|
|
|
- tar -xf panda3d-1.10.9-tools-mac.tar.gz
|
|
|
|
|
- mv panda3d-1.10.9/thirdparty thirdparty
|
|
|
|
|
- rmdir panda3d-1.10.9
|
|
|
|
|
|
|
+ curl -O https://www.panda3d.org/download/panda3d-1.10.10/panda3d-1.10.10-tools-mac.tar.gz
|
|
|
|
|
+ tar -xf panda3d-1.10.10-tools-mac.tar.gz
|
|
|
|
|
+ mv panda3d-1.10.10/thirdparty thirdparty
|
|
|
|
|
+ rmdir panda3d-1.10.10
|
|
|
(cd thirdparty/darwin-libs-a && rm -rf rocket)
|
|
(cd thirdparty/darwin-libs-a && rm -rf rocket)
|
|
|
- name: Set up Python 3.9
|
|
- name: Set up Python 3.9
|
|
|
- uses: actions/setup-python@v1
|
|
|
|
|
|
|
+ uses: actions/setup-python@v2
|
|
|
with:
|
|
with:
|
|
|
python-version: 3.9
|
|
python-version: 3.9
|
|
|
- name: Build Python 3.9
|
|
- name: Build Python 3.9
|
|
@@ -372,7 +372,7 @@ jobs:
|
|
|
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@v1
|
|
|
|
|
|
|
+ uses: actions/setup-python@v2
|
|
|
with:
|
|
with:
|
|
|
python-version: 3.8
|
|
python-version: 3.8
|
|
|
- name: Build Python 3.8
|
|
- name: Build Python 3.8
|
|
@@ -385,7 +385,7 @@ jobs:
|
|
|
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@v1
|
|
|
|
|
|
|
+ uses: actions/setup-python@v2
|
|
|
with:
|
|
with:
|
|
|
python-version: 3.7
|
|
python-version: 3.7
|
|
|
- name: Build Python 3.7
|
|
- name: Build Python 3.7
|