Mercurial > octave
changeset 30977:f02f46360611
GitHub-CI (windows): Package build artifact for MINGW64.
* .github/workflows/make.yaml (windows): Install and upload build artifact for
MINGW64.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 01 May 2022 12:03:16 +0200 |
parents | 044c48ebbf8e |
children | e8ced722b19e |
files | .github/workflows/make.yaml |
diffstat | 1 files changed, 22 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/make.yaml Sun May 01 11:46:20 2022 +0200 +++ b/.github/workflows/make.yaml Sun May 01 12:03:16 2022 +0200 @@ -519,3 +519,25 @@ [ -n "$(grep -e "FAIL\s*0" ./test-suite.log)" ] || echo "::warning::At least one test failed" [ -z "$(grep -e "REGRESSION" ./test-suite.log)" ] || echo "::warning::At least one regression in test suite" echo Finished analyzing test suite results. + + - name: install and compress + if: matrix.msystem == 'MINGW64' + continue-on-error: true + run: | + echo "::group::Installing Octave" + mkdir -p /c/octave/pkg + make -C ./.build DESTDIR=/c/octave/pkg install + echo "::endgroup::" + echo "::group::Compressing Octave package" + cd /c/octave/pkg + tar -cvzf octave.tar.gz * + echo "::endgroup::" + + - name: upload build artifact + if: matrix.msystem == 'MINGW64' + continue-on-error: true + uses: actions/upload-artifact@v3 + with: + name: ${{ matrix.target-prefix }}-octave-${{ steps.ccache_cache_timestamp.outputs.timestamp }} + path: C:\octave\pkg\octave.tar.gz + retention-days: 7