Update build.yml

This commit is contained in:
Jay Lee
2022-03-03 17:15:20 -05:00
committed by GitHub
parent 00b3122c2c
commit 2780ad2edc

View File

@@ -171,8 +171,7 @@ jobs:
PERL=perl
echo "MACOSX_DEPLOYMENT_TARGET=10.15" >> $GITHUB_ENV
echo "PYTHON=${PYTHON_INSTALL_PATH}/bin/python3" >> $GITHUB_ENV
echo 'PIP_ARGS=--no-binary=:all:' >> $GITHUB_ENV
elif [[ "${RUNNER_OS}" == "Linux" ]]; then
Felif [[ "${RUNNER_OS}" == "Linux" ]]; then
MAKE=make
MAKEOPT="-j$(nproc)"
PERL=perl
@@ -415,12 +414,17 @@ jobs:
- name: Install pip requirements
run: |
set +e
"${PYTHON}" -m pip install --upgrade -r requirements.txt ${PIP_ARGS} --verbose
"${PYTHON}" -m pip install --upgrade -r requirements.txt
"${PYTHON}" -m pip list
if [[ "${RUNNER_OS}" == "macOS" ]]; then
find $PYTHON_INSTALL_PATH/lib/python3.10/site-packages -type f -name "*.so" -exec file "{}" \;
"${PYTHON}" -m pip download --only-binary :all: \
--dest . \
--no-cache \
--no-deps \
--platform macosx_10_15_universal2 \
cryptography
"${PYTHON}" -m pip install --force cryptography*.whl
find $PYTHON_INSTALL_PATH/lib/python3.10/site-packages -type f -name "*.so" -exec du -sh "{}" \;
fi
- name: Build GAM with PyInstaller