Update build.yml

This commit is contained in:
Jay Lee
2022-03-04 08:23:32 -05:00
committed by GitHub
parent e256de06d9
commit d5a036dfc6

View File

@ -413,21 +413,21 @@ jobs:
- name: Install pip requirements - name: Install pip requirements
run: | run: |
set +e set +e
"${PYTHON}" -m pip install --upgrade -r requirements.txt ${PIP_ARGS}
"${PYTHON}" -m pip list
if [[ "${RUNNER_OS}" == "macOS" ]]; then if [[ "${RUNNER_OS}" == "macOS" ]]; then
for package in cryptography; do for package in cryptography; do
"${PYTHON}" -m pip install --upgrade cffi ${PIP_ARGS}
"${PYTHON}" -m pip download --only-binary :all: \ "${PYTHON}" -m pip download --only-binary :all: \
--dest . \ --dest . \
--no-cache \ --no-cache \
--no-deps \ --no-deps \
--platform macosx_10_15_universal2 \ --platform macosx_10_15_universal2 \
$package $package
ls -l *.whl
"${PYTHON}" -m pip install --force-reinstall --no-deps $package*.whl "${PYTHON}" -m pip install --force-reinstall --no-deps $package*.whl
done done
find $PYTHON_INSTALL_PATH/lib/python3.10/site-packages -type f -name "*.so" -exec du -sh "{}" \; find $PYTHON_INSTALL_PATH/lib/python3.10/site-packages -type f -name "*.so" -exec du -sh "{}" \;
fi fi
"${PYTHON}" -m pip install --upgrade -r requirements.txt ${PIP_ARGS}
"${PYTHON}" -m pip list
- name: Build GAM with PyInstaller - name: Build GAM with PyInstaller
if: matrix.goal != 'test' if: matrix.goal != 'test'