From 650a1f5154b8a8ad427c9646d94b714bade526cd Mon Sep 17 00:00:00 2001 From: Jay Lee Date: Wed, 22 Dec 2021 15:43:24 -0500 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index eed780ed..7bf34153 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -235,6 +235,20 @@ jobs: echo "GAM Version ${GAMVERSION}" echo "GAMVERSION=${GAMVERSION}" >> $GITHUB_ENV + - name: Linux package GYB + if: matrix.os != 'windows-2022' && matrix.os != 'macos-10.15' && matrix.goal != 'test' + run: | + this_glibc_ver=$(ldd --version | awk '/ldd/{print $NF}') + GAM_ARCHIVE="gam-${GAMVERSION}-linux-$(arch)-glibc${this_glibc_ver}.tar.xz" + tar -C dist/ --create --file $GAM_ARCHIVE --xz gam + + - name: MacOS package GYB + if: matrix.os == 'macos-10.15' && matrix.goal != 'test' + run: | + MACOSVERSION=$(defaults read loginwindow SystemVersionStampAsString) + GAM_ARCHIVE="gam-${GAMVERSION}-macos-x86_64-MacOS${MACOSVERSION}.tar.xz" + tar -C dist/ --create --file $GAM_ARCHIVE --xz gam + - name: Basic Tests build jobs only if: matrix.goal != 'test' run: |