[Actions] use windows-2022 for mingw

MSP-Greg/ruby-setup-ruby@win-ucrt-1
This commit is contained in:
MSP-Greg 2021-11-22 19:49:12 -06:00 коммит произвёл Nobuyoshi Nakada
Родитель c51b92c18d
Коммит 7d55f1b6b6
1 изменённых файлов: 3 добавлений и 6 удалений

9
.github/workflows/mingw.yml поставляемый
Просмотреть файл

@ -20,7 +20,7 @@ concurrency:
# #
jobs: jobs:
make: make:
runs-on: windows-2019 runs-on: windows-2022
name: ${{ github.workflow }} (${{ matrix.msystem }}) name: ${{ github.workflow }} (${{ matrix.msystem }})
env: env:
MSYSTEM: ${{ matrix.msystem }} MSYSTEM: ${{ matrix.msystem }}
@ -55,12 +55,9 @@ jobs:
with: with:
path: src path: src
- name: Set up Ruby & MSYS2 - name: Set up Ruby & MSYS2
uses: MSP-Greg/setup-ruby-pkgs@ucrt uses: MSP-Greg/ruby-setup-ruby@win-ucrt-1
with: with:
ruby-version: ${{ matrix.base_ruby }} ruby-version: ${{ matrix.base_ruby }}
setup-ruby-ref: MSP-Greg/ruby-setup-ruby/00-win-ucrt
mingw: _upgrade_ gmp libffi libyaml openssl ragel readline gcc
msys2: automake1.16 bison
- name: set env - name: set env
run: | run: |
echo "GNUMAKEFLAGS=-j$((2 * NUMBER_OF_PROCESSORS))" >> $GITHUB_ENV echo "GNUMAKEFLAGS=-j$((2 * NUMBER_OF_PROCESSORS))" >> $GITHUB_ENV
@ -112,7 +109,7 @@ jobs:
make test make test
- name: test-all - name: test-all
timeout-minutes: 40 timeout-minutes: 45
run: | run: |
# Actions uses UTF8, causes test failures, similar to normal OS setup # Actions uses UTF8, causes test failures, similar to normal OS setup
chcp.com 437 chcp.com 437