# HG changeset patch # User Markus Mützel # Date 1651399396 -7200 # Node ID f02f463606110046a1bc4052a2190814c155113a # Parent 044c48ebbf8e1f1f2d17d25006e547cfa8607a00 GitHub-CI (windows): Package build artifact for MINGW64. * .github/workflows/make.yaml (windows): Install and upload build artifact for MINGW64. diff -r 044c48ebbf8e -r f02f46360611 .github/workflows/make.yaml --- 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