mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-29 10:21:35 +00:00
actions take 45
This commit is contained in:
15
.github/workflows/build.yml
vendored
15
.github/workflows/build.yml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user