mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
try w/o readlink
This commit is contained in:
4
.github/actions/linux-install.sh
vendored
4
.github/actions/linux-install.sh
vendored
@@ -2,7 +2,7 @@ export distpath="dist/"
|
|||||||
export gampath="${distpath}/gam"
|
export gampath="${distpath}/gam"
|
||||||
rm -rf $gampath
|
rm -rf $gampath
|
||||||
#mkdir -p $gampath
|
#mkdir -p $gampath
|
||||||
export gampath=$(readlink -e $gampath)
|
#export gampath=$(readlink -e $gampath)
|
||||||
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
|
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
|
||||||
export gam="${gampath}/gam"
|
export gam="${gampath}/gam"
|
||||||
export GAMVERSION=`$gam version simple`
|
export GAMVERSION=`$gam version simple`
|
||||||
@@ -12,7 +12,7 @@ this_glibc_ver=$(ldd --version | awk '/ldd/{print $NF}')
|
|||||||
GAM_ARCHIVE="gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-glibc${this_glibc_ver}.tar.xz"
|
GAM_ARCHIVE="gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-glibc${this_glibc_ver}.tar.xz"
|
||||||
rm $gampath/lastupdatecheck.txt
|
rm $gampath/lastupdatecheck.txt
|
||||||
# tar will cd to dist and tar up gam/
|
# tar will cd to dist and tar up gam/
|
||||||
tar -C dist/ --create --file $GAM_ARCHIVE --xz gam
|
tar -C ${distpath} --create --file $GAM_ARCHIVE --xz gam
|
||||||
echo "PyInstaller GAM info:"
|
echo "PyInstaller GAM info:"
|
||||||
du -h $gam
|
du -h $gam
|
||||||
time $gam version extended
|
time $gam version extended
|
||||||
|
|||||||
2
.github/actions/windows-install.sh
vendored
2
.github/actions/windows-install.sh
vendored
@@ -8,7 +8,7 @@ export distpath="dist/"
|
|||||||
export gampath="${distpath}/gam"
|
export gampath="${distpath}/gam"
|
||||||
rm -rf $gampath
|
rm -rf $gampath
|
||||||
#mkdir -p $gampath
|
#mkdir -p $gampath
|
||||||
export gampath=$(readlink -e $gampath)
|
#export gampath=$(readlink -e $gampath)
|
||||||
pyinstaller --clean --noupx -F --distpath $distpath gam.spec
|
pyinstaller --clean --noupx -F --distpath $distpath gam.spec
|
||||||
export gam="${gampath}/gam"
|
export gam="${gampath}/gam"
|
||||||
echo "running compiled GAM..."
|
echo "running compiled GAM..."
|
||||||
|
|||||||
Reference in New Issue
Block a user