chore: Updates workflow to fix Fedora 35/36 (#1161)
This commit is contained in:
parent
caa72bcc81
commit
5a374e75c9
2 changed files with 30 additions and 8 deletions
30
.github/workflows/build-test.yml
vendored
30
.github/workflows/build-test.yml
vendored
|
|
@ -7,7 +7,7 @@ on:
|
|||
branches: [main]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
build-macos:
|
||||
runs-on: ${{ matrix.os }}
|
||||
name: Build (${{ matrix.name }})
|
||||
strategy:
|
||||
|
|
@ -31,3 +31,31 @@ jobs:
|
|||
run: ./publish.cmd
|
||||
- name: Test
|
||||
run: dotnet test --no-restore
|
||||
|
||||
build-linux:
|
||||
runs-on: ubuntu-latest
|
||||
container: ${{ matrix.container }}
|
||||
name: Build (${{ matrix.name }})
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- container: fedora:35
|
||||
name: Fedora 35
|
||||
- container: fedora:36
|
||||
name: Fedora 36
|
||||
|
||||
steps:
|
||||
- name: Install Prerequisites
|
||||
run: dnf makecache --refresh && dnf install -y findutils libicu
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
|
||||
- name: Setup .NET 6
|
||||
uses: actions/setup-dotnet@v1
|
||||
with:
|
||||
dotnet-version: 6.0.400
|
||||
- name: Build
|
||||
run: ./publish.cmd
|
||||
- name: Test
|
||||
run: dotnet test --no-restore
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ variables:
|
|||
|
||||
jobs:
|
||||
- job: BuildWindows
|
||||
displayName: 'Windows Server 2019'
|
||||
displayName: 'Windows Server 2022'
|
||||
pool:
|
||||
vmImage: 'windows-latest'
|
||||
|
||||
|
|
@ -40,12 +40,6 @@ jobs:
|
|||
'Ubuntu 20':
|
||||
containerImage: mcr.microsoft.com/dotnet/sdk:6.0-focal
|
||||
os: ubuntu.20.04
|
||||
'Fedora 35':
|
||||
containerImage: fedora:35
|
||||
os: fedora.35
|
||||
'Fedora 36':
|
||||
containerImage: fedora:36
|
||||
os: fedora.36
|
||||
|
||||
displayName: Linux
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue