From 7ccddd3d33b60c2e854eff047a0c2d22c61ce41a Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 2 Feb 2022 10:38:41 -0500 Subject: [PATCH] [no ci] remove old file --- .github/actions/linux-install.sh | 34 -------------------------------- 1 file changed, 34 deletions(-) delete mode 100755 .github/actions/linux-install.sh diff --git a/.github/actions/linux-install.sh b/.github/actions/linux-install.sh deleted file mode 100755 index fb14ba22..00000000 --- a/.github/actions/linux-install.sh +++ /dev/null @@ -1,34 +0,0 @@ -export distpath="dist/" -export gampath="${distpath}gam" -rm -rf $gampath -#mkdir -p $gampath -#export gampath=$(readlink -e $gampath) -$pip install wheel -$python -OO -m PyInstaller --clean --noupx --strip --distpath $gampath gam.spec -export gam="${gampath}/gam" -export GAMVERSION=$($gam version simple) -cp LICENSE $gampath -cp GamCommands.txt $gampath -this_glibc_ver=$(ldd --version | awk '/ldd/{print $NF}') -GAM_ARCHIVE="gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-glibc${this_glibc_ver}.tar.xz" -rm $gampath/lastupdatecheck.txt -# tar will cd to dist and tar up gam/ -tar -C ${distpath} --create --file "$GAM_ARCHIVE" --xz gam -echo "PyInstaller GAM info:" -du -h $gam -time $gam version extended -if ([ "${ImageOS}" == "ubuntu20" ]) && [ "${HOSTTYPE}" == "x86_64" ]; then - GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-legacy.tar.xz - $python -OO -m staticx $gam $gam-staticx - #strip $gam-staticx - rm $gampath/gam - mv $gam-staticx $gam - chmod 755 $gam - rm $gampath/lastupdatecheck.txt - tar -C dist/ --create --file "$GAM_LEGACY_ARCHIVE" --xz gam - echo "Legacy StaticX GAM info:" - du -h $gam - time $gam version extended -fi -echo "GAM packages:" -ls -l gam-*.tar.xz