# HG changeset patch # User Markus Mützel # Date 1651398380 -7200 # Node ID 044c48ebbf8e1f1f2d17d25006e547cfa8607a00 # Parent e4f9db6543bd893bd28ab9340a9f225884654e89# Parent 791bc376f979c2bb8063d251548ff0119b9def96 maint: Merge stable to default. diff -r e4f9db6543bd -r 044c48ebbf8e .github/workflows/make.yaml --- a/.github/workflows/make.yaml Sun May 01 12:53:26 2022 +0900 +++ b/.github/workflows/make.yaml Sun May 01 11:46:20 2022 +0200 @@ -315,24 +315,19 @@ matrix: # For available GitHub-hosted runners, see: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners os: [windows-latest] - compiler: [gcc] - target: [x86_64, i686] + msystem: [MINGW64, MINGW32] include: - - compiler: gcc - target: x86_64 + - msystem: MINGW64 + mingw-prefix: mingw64 target-triplet: x86_64-w64-mingw32 target-prefix: mingw-w64-x86_64 - msystem: MINGW64 - mingw-prefix: mingw64 cc: gcc cxx: g++ f77: gfortran - - compiler: gcc - target: i686 + - msystem: MINGW32 + mingw-prefix: mingw32 target-triplet: i686-w64-mingw32 target-prefix: mingw-w64-i686 - msystem: MINGW32 - mingw-prefix: mingw32 cc: gcc cxx: g++ f77: gfortran @@ -355,7 +350,8 @@ run : | Get-CIMInstance -Class Win32_Processor | Select-Object -Property Name - - uses: msys2/setup-msys2@v2 + - name: install MSYS2 build environment + uses: msys2/setup-msys2@v2 with: update: true @@ -436,10 +432,10 @@ uses: actions/cache@v2 with: path: C:/msys64/home/runneradmin/.ccache - key: ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.target }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} + key: ccache:${{ matrix.os }}:${{ matrix.msystem }}:${{ github.ref }}:${{ steps.ccache_cache_timestamp.outputs.timestamp }}:${{ github.sha }} restore-keys: | - ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.target }}:${{ github.ref }} - ccache:${{ matrix.os }}:${{ matrix.compiler }}:${{ matrix.target }}:refs/heads/default + ccache:${{ matrix.os }}:${{ matrix.msystem }}:${{ github.ref }} + ccache:${{ matrix.os }}:${{ matrix.msystem }}:refs/heads/default - name: configure ccache # Limit the maximum size and switch on compression to avoid exceeding the total disk or cache quota. @@ -506,7 +502,7 @@ # remove the directory with the ccache wrappers from PATH. run: | - echo "makeinfo_program ('$(cygpath -w /usr/bin | cut -c1,2) && cd $(cygpath -w /usr/bin) && perl makeinfo');" \ + echo "makeinfo_program (sprintf ('%s && cd %s && perl makeinfo', [s=nthargout(2, @system, 'cygpath -w /usr/bin')](1:2), strtrim (s)));" \ >> ./scripts/startup/site-rcfile export PATH=$(echo "$PATH" | sed -e "s|$MINGW_PREFIX/lib/ccache/bin:||g") make -C ./.build check | tee ./test-suite.log