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

WIP: CI(linux): switch LTS versions #42

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
46 changes: 21 additions & 25 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
needs:
- sanity-check

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
image: "ubuntu:22.04"
image: "ubuntu:24.04"
env:
NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }}
steps:
Expand Down Expand Up @@ -51,11 +51,11 @@ jobs:
- linux-newLTS-github--dotnet-and-msbuild
- linux-newLTS-vanilla--stockmono
- linux-newLTS-vanilla--newmono
- linux-newLTS-vanilla--dotnet6
- linux-newLTS-vanilla--dotnet8
- windows--legacyFramework
- windows--dotnet6

runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
with:
Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
run: ./compileFSharpScripts.fsx

linux-oldLTS-github--dotnet-and-xbuild:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: check mono version
Expand Down Expand Up @@ -178,7 +178,7 @@ jobs:
run: ./compileFSharpScripts.fsx

linux-oldLTS-github--dotnet-and-msbuild:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
- name: check mono version
Expand Down Expand Up @@ -209,15 +209,15 @@ jobs:
run: ./compileFSharpScripts.fsx

linux-oldLTS-vanilla--stockmono:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: "ubuntu:20.04"
image: "ubuntu:22.04"
steps:
- uses: actions/checkout@v1
- name: install sudo
run: apt update && apt install --yes sudo
- name: install all dependencies
run: sudo apt install --yes git make curl fsharp nunit-console
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes git make curl fsharp nunit-console

# workaround for https://github.com/actions/runner/issues/2033
- name: ownership workaround
Expand Down Expand Up @@ -251,9 +251,9 @@ jobs:
run: ./compileFSharpScripts.fsx

linux-oldLTS-vanilla--newmono:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
container:
image: "ubuntu:20.04"
image: "ubuntu:22.04"
steps:
- uses: actions/checkout@v1
- name: install sudo
Expand Down Expand Up @@ -295,11 +295,9 @@ jobs:
run: ./compileFSharpScripts.fsx

linux-newLTS-github--dotnet-and-xbuild:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
- name: check mono version
run: mono --version
- name: install dependencies
run: sudo apt install --yes fsharp
- name: check mono version
Expand All @@ -326,11 +324,9 @@ jobs:
run: ./compileFSharpScripts.fsx

linux-newLTS-github--dotnet-and-msbuild:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
- name: check mono version
run: mono --version
- name: install last version of mono (Microsoft APT repositories)
run: sudo ./scripts/CI/install_mono_from_microsoft_deb_packages.sh
- name: check mono version
Expand All @@ -357,9 +353,9 @@ jobs:
run: ./compileFSharpScripts.fsx

linux-newLTS-vanilla--stockmono:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
image: "ubuntu:22.04"
image: "ubuntu:24.04"
steps:
- uses: actions/checkout@v1
- name: install sudo
Expand Down Expand Up @@ -399,9 +395,9 @@ jobs:
run: ./compileFSharpScripts.fsx

linux-newLTS-vanilla--newmono:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
container:
image: "ubuntu:22.04"
image: "ubuntu:24.04"
steps:
- uses: actions/checkout@v1
- name: install sudo
Expand Down Expand Up @@ -442,16 +438,16 @@ jobs:
- name: compile this repo's .fsx scripts with fsx
run: ./compileFSharpScripts.fsx

linux-newLTS-vanilla--dotnet6:
runs-on: ubuntu-22.04
linux-newLTS-vanilla--dotnet8:
runs-on: ubuntu-24.04
container:
image: "ubuntu:22.04"
image: "ubuntu:24.04"
steps:
- uses: actions/checkout@v1
- name: install sudo
run: apt update && apt install --yes sudo
- name: install dependencies
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes git make dotnet6
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes git make dotnet8

# workaround for https://github.com/actions/runner/issues/2033
- name: ownership workaround
Expand Down
2 changes: 1 addition & 1 deletion Fsdk.Tests/Fsdk.Tests.fsproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFrameworks>net8.0;net6.0</TargetFrameworks>

<IsPackable>false</IsPackable>
<GenerateProgramFile>false</GenerateProgramFile>
Expand Down
Loading