15
15
MPFR_NUGET_VERSION : 4.2.1-preview.2
16
16
17
17
jobs :
18
- test :
18
+ gmp :
19
19
strategy :
20
20
matrix :
21
21
include :
@@ -28,24 +28,38 @@ jobs:
28
28
runs-on : ${{ matrix.runs-on }}
29
29
steps :
30
30
- uses : actions/checkout@v4
31
- # GMP
32
31
- name : Configure NuGet Source
33
32
run : dotnet nuget add source ${{ env.NUGET_REGISTRY }} --name ProGet
34
33
35
- # - name: Download GMP Native NuGet
36
- # run: |
37
- # cd src/Sdcb.Arithmetic.Gmp.Tests
38
- # dotnet add package Sdcb.Arithmetic.Gmp.runtime.${{ matrix.os }}-${{ matrix.arch }} -v ${{ env.GMP_NUGET_VERSION }} --no-restore
39
- # cat Sdcb.Arithmetic.Gmp.Tests.csproj
40
- # - name: DotNet Build for GMP
41
- # run: |
42
- # cd src/Sdcb.Arithmetic.Gmp.Tests
43
- # dotnet build -c Release --runtime ${{ matrix.os }}-${{ matrix.arch }}
44
- # - name: Test GMP
45
- # run: |
46
- # cd src/Sdcb.Arithmetic.Gmp.Tests
47
- # dotnet test -c Release --no-build --runtime ${{ matrix.os }}-${{ matrix.arch }}
48
- # MPFR
34
+ - name : Download GMP Native NuGet
35
+ run : |
36
+ cd src/Sdcb.Arithmetic.Gmp.Tests
37
+ dotnet add package Sdcb.Arithmetic.Gmp.runtime.${{ matrix.os }}-${{ matrix.arch }} -v ${{ env.GMP_NUGET_VERSION }} --no-restore
38
+ cat Sdcb.Arithmetic.Gmp.Tests.csproj
39
+ - name : DotNet Build for GMP
40
+ run : |
41
+ cd src/Sdcb.Arithmetic.Gmp.Tests
42
+ dotnet build -c Release --runtime ${{ matrix.os }}-${{ matrix.arch }}
43
+ - name : Test GMP
44
+ run : |
45
+ cd src/Sdcb.Arithmetic.Gmp.Tests
46
+ dotnet test -c Release --no-build --runtime ${{ matrix.os }}-${{ matrix.arch }}
47
+
48
+ mpfr :
49
+ strategy :
50
+ matrix :
51
+ include :
52
+ - { os: win, arch: x64, runs-on: 'windows-latest' }
53
+ - { os: win, arch: x86, runs-on: 'windows-latest' }
54
+ - { os: linux, arch: x64, runs-on: 'ubuntu-latest' }
55
+ - { os: linux, arch: arm64, runs-on: 'ubuntu-24.04-arm' }
56
+ - { os: osx, arch: arm64, runs-on: 'macos-latest' }
57
+ - { os: osx, arch: x64, runs-on: 'macos-13' }
58
+ runs-on : ${{ matrix.runs-on }}
59
+ steps :
60
+ - uses : actions/checkout@v4
61
+ - name : Configure NuGet Source
62
+ run : dotnet nuget add source ${{ env.NUGET_REGISTRY }} --name ProGet
49
63
- name : Download MPFR Native NuGet
50
64
run : |
51
65
cd src/Sdcb.Arithmetic.Mpfr.Tests
0 commit comments