diff options
| author | Mary <me@thog.eu> | 2020-11-15 19:27:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-15 19:27:15 +0100 |
| commit | aa129fdbdfd424f73da2b187fc28855f8ae90059 (patch) | |
| tree | afe0e93dfe246f75ed97ee8cf9d3eafb115a707e /.github/workflows | |
| parent | 8d0d299792a28af5121ac8ec031ae958b07dd944 (diff) | |
infra: Migrate to .NET 5 (#1694)
* infra: Migrate to .NET 5
This migrate projects and CI to .NET 5
* Remove language version restrictions (now on 9.0 by default)
* infra: pin .NET 5 to avoid later issues
* infra: Cleanup csproj files
* infra: update dependencies
* infra: Add temporary workaround for a bug in Vector128.Create
see https://github.com/dotnet/runtime/issues/44704 for more informations
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cd0fee4a..596ed5b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,27 +1,39 @@ -name: "Build job" +name: Build job + on: push: - branches: - - master + branches: [ master ] + paths-ignore: + - '.github/*' + - '.github/ISSUE_TEMPLATE/**' + - '*.yml' + - 'README.md' pull_request: - branches: - - '*' + branches: [ master ] + paths-ignore: + - '.github/*' + - '.github/ISSUE_TEMPLATE/**' + - '*.yml' + - 'README.md' + jobs: build: + name: ${{ matrix.os }} (${{ matrix.configuration }}) runs-on: ${{ matrix.os }} strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] - dotnet: ['3.1.100'] - environment: ['Debug', 'Release'] - name: ${{ matrix.environment }} build (Dotnet ${{ matrix.dotnet }}, OS ${{ matrix.os }}) + configuration: [Debug, Release] + fail-fast: false + env: + POWERSHELL_TELEMETRY_OPTOUT: 1 + DOTNET_CLI_TELEMETRY_OPTOUT: 1 steps: - - uses: actions/checkout@master - - name: Setup dotnet - uses: actions/setup-dotnet@v1 + - uses: actions/checkout@v2 + - uses: actions/setup-dotnet@v1 with: - dotnet-version: ${{ matrix.dotnet }} + dotnet-version: 5.0.x - name: Build - run: dotnet build -c "${{ matrix.environment }}" + run: dotnet build -c "${{ matrix.configuration }}" - name: Test - run: dotnet test -c "${{ matrix.environment }}"
\ No newline at end of file + run: dotnet test -c "${{ matrix.configuration }}"
\ No newline at end of file |
