Skip to content

Merge pull request #909 from adamralph/dependabot/nuget/McMaster.Exte… #1391

Merge pull request #909 from adamralph/dependabot/nuget/McMaster.Exte…

Merge pull request #909 from adamralph/dependabot/nuget/McMaster.Exte… #1391

Workflow file for this run

name: ci
on:
push:
branches: [main, release-*]
pull_request:
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
jobs:
ci:
strategy:
fail-fast: false
matrix:
include:
# old macOS, latest LTS
- job:
os: macos-11
tests:
framework: net6.0
sdk: "6.0.408"
sdk-major-minor: "6.0"
# current macOS, latest LTS and latest
- job:
os: macos-12
tests:
framework: net6.0
sdk: "6.0.408"
sdk-major-minor: "6.0"
- job:
os: macos-12
tests:
framework: net7.0
sdk: "7.0.302"
sdk-major-minor: "7.0"
# old Linux, latest LTS
- job:
os: ubuntu-20.04
tests:
framework: net6.0
sdk: "6.0.408"
sdk-major-minor: "6.0"
# current Linux, all
- job:
os: ubuntu-22.04
tests:
framework: net6.0
sdk: "6.0.408"
sdk-major-minor: "6.0"
- job:
os: ubuntu-22.04
upload: true
tests:
framework: net7.0
sdk: "7.0.302"
sdk-major-minor: "7.0"
# old Windows, latest LTS
- job:
os: windows-2019
tests:
framework: net6.0
sdk: "6.0.408"
sdk-major-minor: "6.0"
# current Windows, latest LTS and latest
- job:
os: windows-2022
tests:
framework: net6.0
sdk: "6.0.408"
sdk-major-minor: "6.0"
- job:
os: windows-2022
tests:
framework: net7.0
sdk: "7.0.302"
sdk-major-minor: "7.0"
name: ${{ matrix.job.os }}-sdk-${{ matrix.tests.sdk-major-minor }}
runs-on: ${{ matrix.job.os }}
steps:
- uses: actions/[email protected]
with:
dotnet-version: |
${{ matrix.tests.sdk }}
7.0.302
- run: dotnet --info
- run: git --version
- uses: actions/[email protected]
- env:
CI_NUMBER: ${{ github.run_number }}
MINVER_VERSION: ${{ vars.MINVER_VERSION }}
MINVER_TESTS_SDK: ${{ matrix.tests.sdk }}
MINVER_TESTS_FRAMEWORK: ${{ matrix.tests.framework }}
run: ./build --verbose
- if: matrix.job.upload
uses: actions/[email protected]
with:
name: NuGet packages
path: ./**/*.nupkg