Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin ubuntu build to 22.04 due to .NET 5 issue #971

Merged
merged 3 commits into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/Generate-TestWorkflows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

.PARAMETER OperatingSystems
A string array of Github Actions operating system monikers to run the tests on.
The default is @('windows-latest', 'ubuntu-latest').
The default is @('windows-latest', 'ubuntu-22.04').

.PARAMETER TestPlatforms
A string array of platforms to run the tests on. Valid values are x64 and x86.
Expand Down Expand Up @@ -70,7 +70,7 @@ param(

[string[]]$TestFrameworks = @('net8.0', 'net5.0','net472','net48'), # targets under test: net6.0, netstandard2.1, netstanard2.0, net462

[string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest'),
[string[]]$OperatingSystems = @('windows-latest', 'ubuntu-22.04'), # NOTE: ubuntu-24.04 breaks the .NET 5 build currently

[string[]]$TestPlatforms = @('x64'),

Expand Down Expand Up @@ -159,7 +159,7 @@ function Write-TestWorkflow(
[string[]]$Configurations = @('Release'),
[string[]]$TestFrameworks = @('net5.0', 'net48'),
[string[]]$TestPlatforms = @('x64'),
[string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest', 'macos-latest'),
[string[]]$OperatingSystems = @('windows-latest', 'ubuntu-22.04', 'macos-latest'),
[string]$DotNet8SDKVersion = $DotNet8SDKVersion,
[string]$DotNet6SDKVersion = $DotNet6SDKVersion,
[string]$DotNet5SDKVersion = $DotNet5SDKVersion) {
Expand Down Expand Up @@ -248,9 +248,9 @@ jobs:
platform: $platforms
configuration: $configurations
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-AllProjects.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -71,14 +71,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Analysis-Common.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -55,14 +55,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -55,14 +55,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net48]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -49,14 +49,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -53,14 +53,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Benchmark.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -62,14 +62,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Classification.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Cli.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -69,14 +69,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Codecs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -48,14 +48,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Demo.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -57,14 +57,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Expressions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/Lucene-Net-Tests-Facet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
####################################################################################
####################################################################################
# DO NOT EDIT: This file was automatically generated by Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
Expand Down Expand Up @@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, ubuntu-latest]
os: [windows-latest, ubuntu-22.04]
framework: [net8.0, net5.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net48
- os: ubuntu-latest
- os: ubuntu-22.04
framework: net472
- os: macos-latest
framework: net48
Expand Down
Loading