Browse Source

test and build framework can be different

pull/1554/head
Stefan Nikolei 5 years ago
parent
commit
37709f941e
  1. 31
      .github/workflows/build-and-test.yml

31
.github/workflows/build-and-test.yml

@ -15,39 +15,48 @@ jobs:
matrix: matrix:
options: options:
- os: ubuntu-latest - os: ubuntu-latest
framework: net5.0 framework-build: netcoreapp3.1
framework-test: net5.0
runtime: -x64 runtime: -x64
codecov: false codecov: false
- os: macos-latest - os: macos-latest
framework: net5.0 framework-build: netcoreapp3.1
framework-test: net5.0
runtime: -x64 runtime: -x64
codecov: false codecov: false
- os: windows-latest - os: windows-latest
framework: net5.0 framework-build: netcoreapp3.1
framework-test: net5.0
runtime: -x64 runtime: -x64
codecov: false codecov: false
- os: ubuntu-latest - os: ubuntu-latest
framework: netcoreapp3.1 framework-build: netcoreapp3.1
framework-test: netcoreapp3.1
runtime: -x64 runtime: -x64
codecov: true codecov: true
- os: macos-latest - os: macos-latest
framework: netcoreapp3.1 framework-build: netcoreapp3.1
framework-test: netcoreapp3.1
runtime: -x64 runtime: -x64
codecov: false codecov: false
- os: windows-latest - os: windows-latest
framework: netcoreapp3.1 framework-build: netcoreapp3.1
framework-test: netcoreapp3.1
runtime: -x64 runtime: -x64
codecov: false codecov: false
- os: windows-latest - os: windows-latest
framework: netcoreapp2.1 framework-build: netcoreapp2.1
framework-test: netcoreapp2.1
runtime: -x64 runtime: -x64
codecov: false codecov: false
- os: windows-latest - os: windows-latest
framework: net472 framework-build: net472
framework-test: net472
runtime: -x64 runtime: -x64
codecov: false codecov: false
- os: windows-latest - os: windows-latest
framework: net472 framework-build: net472
framework-test: net472
runtime: -x86 runtime: -x86
codecov: false codecov: false
@ -78,11 +87,11 @@ jobs:
- name: Build - name: Build
shell: pwsh shell: pwsh
run: ./ci-build.ps1 "${{matrix.options.framework}}" run: ./ci-build.ps1 "${{matrix.options.framework-build}}"
- name: Test - name: Test
shell: pwsh shell: pwsh
run: ./ci-test.ps1 "${{matrix.options.os}}" "${{matrix.options.framework}}" "${{matrix.options.runtime}}" "${{matrix.options.codecov}}" run: ./ci-test.ps1 "${{matrix.options.os}}" "${{matrix.options.framework-test}}" "${{matrix.options.runtime}}" "${{matrix.options.codecov}}"
env: env:
CI: True CI: True
XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit XUNIT_PATH: .\tests\ImageSharp.Tests # Required for xunit

Loading…
Cancel
Save