Mercurial > octave
changeset 30794:b39ecf7f45ce stable
GitHub-CI (windows): Install mesa as a run-time dependency.
* .github/workflows/make.yaml (windows): The mesa3d OpenGL driver seems to be
needed for correct off-screen rendering. But the version from MSYS2 currently
crashes Octave on MINGW32.
See: https://github.com/msys2/MINGW-packages/issues/10876
Without it, `test getframe` "just" fails (without crashing Octave). So, skip
installation for MINGW32.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Tue, 01 Mar 2022 19:49:11 +0100 |
parents | 4fc0b7269803 |
children | 7a0dae91a4fc e53ddadaf15e |
files | .github/workflows/make.yaml |
diffstat | 1 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/.github/workflows/make.yaml Mon Feb 28 14:02:17 2022 -0500 +++ b/.github/workflows/make.yaml Tue Mar 01 19:49:11 2022 +0100 @@ -411,6 +411,17 @@ msystem: ${{ matrix.msystem }} + - name: install run-time dependency "mesa" + # The mesa3d OpenGL driver seems to be needed for correct off-screen + # rendering. But the version from MSYS2 currently crashes Octave on + # MINGW32. See: https://github.com/msys2/MINGW-packages/issues/10876 + # Without it, `test getframe` "just" fails without crashing Octave. + # So, skip installation for MINGW32. + if: matrix.msystem != 'MINGW32' + env: + TARGET_PREFIX: ${{ matrix.target-prefix }} + run: pacman --noconfirm -S ${TARGET_PREFIX}-mesa + - name: checkout repository uses: actions/checkout@v2