Skip to content

Commit

Permalink
ci: use server 2019 for win builds (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel authored Feb 18, 2022
1 parent 05372be commit 71fe846
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ on:

jobs:
Build:
runs-on: ${{ matrix.os }}-latest
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu, windows, macos]
os: [ubuntu-latest, windows-2019, macos-latest]
target: [netstandard2.0, netstandard2.1]
include:
- os: windows
- os: windows-2019
target: net45
env:
LIB_PROJ: src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
Expand All @@ -35,6 +35,9 @@ jobs:
uses: actions/setup-dotnet@v1
with:
dotnet-version: '3.1.x'

- name: Show .NET info
run: dotnet --info

- name: Build library (Debug)
run: dotnet build -c debug -f ${{ matrix.target }} ${{ env.LIB_PROJ }}
Expand Down Expand Up @@ -73,7 +76,7 @@ jobs:

CodeCov:
name: Code Coverage
runs-on: windows-latest
runs-on: windows-2019
env:
DOTCOVER_VER: 2021.1.2
DOTCOVER_PKG: jetbrains.dotcover.commandlinetools
Expand Down

0 comments on commit 71fe846

Please sign in to comment.