actions take 45

This commit is contained in:
Jay Lee
2020-12-04 04:31:34 -05:00
parent 02d7f45988
commit 4b2f9488ce
2 changed files with 14 additions and 3 deletions

View File

@@ -23,8 +23,18 @@ jobs:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.15, windows-2019, windows-2016] os: [ubuntu-16.04, ubuntu-18.04, ubuntu-20.04, macos-10.13, macos-10.14, macos-10.15, windows-2016, windows-2019]
continue-on-error: true include:
- os: ubuntu-20.04
env:
TESTING: "python_36"
- os: ubuntu-20.04
env:
TESTING: "python_37"
- os: ubuntu-20.04
env:
TESTING: "python_38"
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
@@ -34,6 +44,7 @@ jobs:
- name: Cache multiple paths - name: Cache multiple paths
uses: actions/cache@v2 uses: actions/cache@v2
if: env.TESTING == ""
with: with:
path: | path: |
~/python ~/python

View File

@@ -19,7 +19,7 @@ else
echo "PyInstaller GAM info:" echo "PyInstaller GAM info:"
du -h $gam du -h $gam
time $gam version extended time $gam version extended
if [ "${TRAVIS_DIST}" == "xenial" ] && [ "${PLATFORM}" == "x86_64" ]; then if ([ "${ImageOS}" == "ubuntu16" ]) && [ "${HOSTTYPE}" == "x86_64" ]; then
GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-legacy.tar.xz GAM_LEGACY_ARCHIVE=gam-${GAMVERSION}-${GAMOS}-${PLATFORM}-legacy.tar.xz
$python -OO -m staticx -l /lib/x86_64-linux-gnu/libresolv.so.2 -l /lib/x86_64-linux-gnu/libnss_dns.so.2 $gam $gam-staticx $python -OO -m staticx -l /lib/x86_64-linux-gnu/libresolv.so.2 -l /lib/x86_64-linux-gnu/libnss_dns.so.2 $gam $gam-staticx
strip $gam-staticx strip $gam-staticx