mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-28 09:51:36 +00:00
Update build.yml
This commit is contained in:
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@@ -294,8 +294,10 @@ jobs:
|
||||
run: |
|
||||
cd "${env:PYTHON_SOURCE_PATH}"
|
||||
mkdir "${env:PYTHON_INSTALL_PATH}\lib"
|
||||
mkdir "${env:PYTHON_INSTALL_PATH}\include"
|
||||
Copy-Item -Path "PCBuild\${env:PYEXTERNALS_PATH}\*" "${env:PYTHON_INSTALL_PATH}\"
|
||||
Copy-Item -Path "${env:PYTHON_SOURCE_PATH}\Lib\*" "${env:PYTHON_INSTALL_PATH}\lib\" -recurse
|
||||
Copy-Item -Path "${env:PYTHON_SOURCE_PATH}\Include\*" "${env:PYTHON_INSTALL_PATH}\include\" -recurse
|
||||
|
||||
- name: Mac/Linux Build Python
|
||||
if: matrix.goal == 'build' && matrix.os != 'windows-2022' && steps.cache-python-ssl.outputs.cache-hit != 'true'
|
||||
@@ -344,13 +346,6 @@ jobs:
|
||||
- name: Install pip requirements
|
||||
run: |
|
||||
set +e
|
||||
PATH="${PATH}:${PYTHON_INSTALL_PATH}/scripts"
|
||||
echo $PATH
|
||||
if [[ "${arch}" == "Win32" ]]; then
|
||||
choco install --force --upgrade --forcex86 swig
|
||||
elif [[ "${arch}" == "Win64" ]]; then
|
||||
choco install --force --upgrade swig
|
||||
fi
|
||||
"${PYTHON}" -m pip install --upgrade -r requirements.txt
|
||||
|
||||
- name: Build GAM with PyInstaller
|
||||
|
||||
Reference in New Issue
Block a user