From 645fd9a135dcbca1370b4cff4e024e6e39d28ed0 Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Tue, 25 Oct 2022 10:15:20 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 37819ac6..8d0fb263 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -84,6 +84,7 @@ jobs: with: path: | bin.tar.xz + src/cpython/PCbuild key: gam-${{ matrix.jid }}-20221024 - name: Untar Cache archive @@ -186,7 +187,7 @@ jobs: MAKE=nmake MAKEOPT="" PERL="c:\strawberry\perl\bin\perl.exe" - echo "PYTHON=${PYTHON_INSTALL_PATH}\python.exe" >> $GITHUB_ENV + echo "PYTHON=${PYTHON_SOURCE_PATH}/PCbuild/${PYEXTERNALS_PATH}/python.exe" >> $GITHUB_ENV echo "GAM_ARCHIVE_ARCH=${GAM_ARCHIVE_ARCH}" >> $GITHUB_ENV echo "WIX_ARCH=${WIX_ARCH}" >> $GITHUB_ENV fi @@ -361,21 +362,6 @@ jobs: echo "Building for ${env:PYBUILDRELEASE_ARCH}..." PCBuild\build.bat -m --pgo -c Release -p "${env:PYBUILDRELEASE_ARCH}" - - name: Windows Install Python - if: matrix.goal == 'build' && runner.os == 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true' - shell: powershell - 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}\" -Verbose - Copy-Item -Path "${env:PYTHON_SOURCE_PATH}\Lib\*" "${env:PYTHON_INSTALL_PATH}\lib\" -recurse -Verbose - Copy-Item -Path "${env:PYTHON_SOURCE_PATH}\Include\*" "${env:PYTHON_INSTALL_PATH}\include\" -recurse -Verbose - Copy-Item -Path "${env:PYTHON_SOURCE_PATH}\PC\*.h" "${env:PYTHON_INSTALL_PATH}\include\" -Verbose - $env:Path = '${PYTHON_INSTALL_PATH}/bin' + $env:Path - echo "Path=$env:Path" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append - echo "PATH: ${env:Path}" - - name: Mac/Linux Build Python if: matrix.goal == 'build' && runner.os != 'Windows' && steps.cache-python-ssl.outputs.cache-hit != 'true' run: |