mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
Update build.yml
This commit is contained in:
31
.github/workflows/build.yml
vendored
31
.github/workflows/build.yml
vendored
@@ -91,7 +91,7 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/python
|
~/python
|
||||||
~/ssl
|
~/ssl
|
||||||
key: ${{ matrix.os }}-${{ matrix.jid }}-20201207
|
key: ${{ matrix.os }}-${{ matrix.jid }}-20201207-1
|
||||||
|
|
||||||
- name: Set env variables
|
- name: Set env variables
|
||||||
env:
|
env:
|
||||||
@@ -135,20 +135,21 @@ jobs:
|
|||||||
echo "pip=$pip" >> $GITHUB_ENV
|
echo "pip=$pip" >> $GITHUB_ENV
|
||||||
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
|
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $GITHUB_ENV
|
||||||
echo -e "Python: $python\nPip: $pip\nLD_LIB...: $LD_LIBRARY_PATH"
|
echo -e "Python: $python\nPip: $pip\nLD_LIB...: $LD_LIBRARY_PATH"
|
||||||
export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_COMMIT}"
|
#export url="https://codeload.github.com/pyinstaller/pyinstaller/tar.gz/${PYINSTALLER_COMMIT}"
|
||||||
echo "Downloading ${url}"
|
#echo "Downloading ${url}"
|
||||||
curl -o pyinstaller.tar.gz --compressed "${url}"
|
#curl -o pyinstaller.tar.gz --compressed "${url}"
|
||||||
tar xf pyinstaller.tar.gz
|
#tar xf pyinstaller.tar.gz
|
||||||
mv "pyinstaller-${PYINSTALLER_COMMIT}" pyinstaller
|
#mv "pyinstaller-${PYINSTALLER_COMMIT}" pyinstaller
|
||||||
cd pyinstaller/bootloader
|
#cd pyinstaller/bootloader
|
||||||
if [ "${PLATFORM}" == "x86" ]; then
|
#if [ "${PLATFORM}" == "x86" ]; then
|
||||||
BITS="32"
|
# BITS="32"
|
||||||
else
|
#else
|
||||||
BITS="64"
|
# BITS="64"
|
||||||
fi
|
#fi
|
||||||
$python ./waf all --target-arch=${BITS}bit
|
#$python ./waf all --target-arch=${BITS}bit
|
||||||
cd ..
|
#cd ..
|
||||||
$python setup.py install
|
#$python setup.py install
|
||||||
|
$pip install pyinstaller
|
||||||
|
|
||||||
- name: Install pip requirements
|
- name: Install pip requirements
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user