From cbaedffce22510c1bb8289006f2c623201537cdc Mon Sep 17 00:00:00 2001 From: jsm174 Date: Tue, 9 Mar 2021 09:36:08 -0500 Subject: [PATCH] ci: make artifacts for all builds --- .github/workflows/ci.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af55e95f..25ea8f2f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,6 +87,18 @@ jobs: export C=${{matrix.C}} B=${{matrix.B}} T=${{matrix.T}} X=${{matrix.X}} TRAVIS_OS_NAME=linux bash ./.github/travis_testsuite_1.sh + - name: 'Make artifact' + run: | + export C=${{matrix.C}} B=${{matrix.B}}; [ -n "$B" ] || B="release" + mkdir tmp + cp ../build/github/$C/$B/upx/upx.out tmp/upx + + - name: 'Upload artifact' + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.name }} + path: tmp + job-windows-cross-toolchains: needs: [ job-rebuild-and-verify-stubs ] name: ${{ matrix.name }} @@ -131,6 +143,19 @@ jobs: export CROSS=${{matrix.CROSS}} bash ./.github/travis_testsuite_1.sh + - name: 'Make artifact' + run: | + export C=${{matrix.C}} B=${{matrix.B}}; [ -n "$B" ] || B="release" + export CROSS=${{matrix.CROSS}} + mkdir tmp + cp ../build/github/$CROSS-$C/$B/upx/upx.exe tmp/upx.exe + + - name: 'Upload artifact' + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.name }} + path: tmp + job-windows-toolchains: needs: [ job-rebuild-and-verify-stubs ] name: ${{ matrix.name }} @@ -217,4 +242,16 @@ jobs: run: | bash ./.github/travis_testsuite_1.sh + - name: 'Make artifact' + shell: cmd + run: | + mkdir tmp + copy %H%\build\%C%\%B%\upx\upx_packed.exe tmp\upx.exe + + - name: 'Upload artifact' + uses: actions/upload-artifact@v2 + with: + name: ${{ matrix.name }} + path: tmp + # vim:set ts=2 sw=2 et: