1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-19 10:05:05 -07:00

.NET: update minimal supported versions to .NET 8

This commit is contained in:
Frank Denis 2024-04-29 10:24:28 +02:00
parent 36bf6ce89c
commit a904cb8aad

View File

@ -142,7 +142,7 @@ jobs:
- build-apple
- build-others
container:
image: mcr.microsoft.com/dotnet/sdk:6.0
image: mcr.microsoft.com/dotnet/sdk:8.0
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@ -226,7 +226,7 @@ jobs:
needs:
- pack
container:
image: mcr.microsoft.com/dotnet/sdk:6.0
image: mcr.microsoft.com/dotnet/sdk:8.0
env:
DOTNET_CLI_TELEMETRY_OPTOUT: 1
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
@ -255,9 +255,9 @@ jobs:
- name: Move Build Output
run: |
mkdir .libsodium-builds
mv .libsodium-test/bin/Release/net6.0/linux-arm/publish .libsodium-builds/linux-arm
mv .libsodium-test/bin/Release/net6.0/linux-arm64/publish .libsodium-builds/linux-arm64
mv .libsodium-test/bin/Release/net6.0/linux-x64/publish .libsodium-builds/linux-x64
mv .libsodium-test/bin/Release/net8.0/linux-arm/publish .libsodium-builds/linux-arm
mv .libsodium-test/bin/Release/net8.0/linux-arm64/publish .libsodium-builds/linux-arm64
mv .libsodium-test/bin/Release/net8.0/linux-x64/publish .libsodium-builds/linux-x64
- uses: actions/upload-artifact@v4
with:
name: test-builds
@ -269,14 +269,13 @@ jobs:
- build-test-binaries
strategy:
matrix:
# CentOS 7 and Debian 10 use an older GCC version; make sure we can run on those platforms.
arch: [ 'centos:7', 'debian:10' ]
arch: [ 'centos:8', 'debian:11' ]
container:
image: ${{ matrix.arch }}
env:
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT: 1
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: test-builds
path: .libsodium-builds/
@ -286,7 +285,7 @@ jobs:
.libsodium-builds/linux-x64/Tests
run-test-binaries-cross-plat:
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
needs:
- build-test-binaries
env: