Update build.yml

This commit is contained in:
Jay Lee
2020-12-07 22:16:25 -05:00
committed by GitHub
parent 2f2be201a7
commit 71d6d08f5a

View File

@@ -91,7 +91,7 @@ jobs:
path: |
~/python
~/ssl
key: ${{ matrix.os }}-${{ matrix.jid }}-20201207
key: ${{ matrix.os }}-${{ matrix.jid }}-20201207-1
- name: Set env variables
env:
@@ -135,20 +135,21 @@ jobs:
echo "pip=$pip" >> $GITHUB_ENV
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
echo -e "Python: $python\nPip: $pip\nLD_LIB...: $LD_LIBRARY_PATH"
export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_COMMIT}"
echo "Downloading ${url}"
curl -o pyinstaller.tar.gz --compressed "${url}"
tar xf pyinstaller.tar.gz
mv "pyinstaller-${PYINSTALLER_COMMIT}" pyinstaller
cd pyinstaller/bootloader
if [ "${PLATFORM}" == "x86" ]; then
BITS="32"
else
BITS="64"
fi
$python ./waf all --target-arch=${BITS}bit
cd ..
$python setup.py install
#export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_COMMIT}"
#echo "Downloading ${url}"
#curl -o pyinstaller.tar.gz --compressed "${url}"
#tar xf pyinstaller.tar.gz
#mv "pyinstaller-${PYINSTALLER_COMMIT}" pyinstaller
#cd pyinstaller/bootloader
#if [ "${PLATFORM}" == "x86" ]; then
# BITS="32"
#else
# BITS="64"
#fi
#$python ./waf all --target-arch=${BITS}bit
#cd ..
#$python setup.py install
$pip install pyinstaller
- name: Install pip requirements
run: |