Fix strategy issue
This commit is contained in:
Max Golovanov 2019-08-27 15:18:09 -07:00 коммит произвёл GitHub
Родитель 50146cfaf8
Коммит 92e0d75955
1 изменённых файлов: 10 добавлений и 16 удалений

26
.github/workflows/test-win-latest.yml поставляемый
Просмотреть файл

@ -12,23 +12,17 @@ on:
schedule:
- cron: 0 2 * * 1-5
parameters:
archs: ["Win32","x64"]
configs: ["Release","Debug"]
jobs:
build:
runs-on: [windows-latest]
test:
name: Test on Windows ${{ matrix.arch }}-${{ matrix.config }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
arch: [Win32, x64]
config: [Release, Debug]
os: [windows-latest]
steps:
- uses: actions/checkout@v1
- name: build
run: build-tests.bat $(archName) $(configName)
strategy:
matrix:
${{ each arch in parameters.archs }}:
${{ each config in parameters.configs }}:
${{ format('{0}{1}', arch, config) }}:
archName: ${{ arch }}
configName: ${{ config }}
- name: Test ${{ matrix.arch }} ${{ matrix.config }}
run: build-tests.bat ${{ matrix.arch }} ${{ matrix.config }}