Skip to content

Stop pulling an exponent out of a logarithm over an undecided argumen… #1370

Stop pulling an exponent out of a logarithm over an undecided argumen…

Stop pulling an exponent out of a logarithm over an undecided argumen… #1370

name: 'Solution Build'
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
Everything:
runs-on: windows-latest # Window application cannot be run on other OS
steps:
- uses: actions/checkout@v6
with:
submodules: 'recursive'
- name: Setup .NET 10
uses: actions/setup-dotnet@v5
with:
dotnet-version: '10.x'
dotnet-quality: 'preview'
- name: Build AM
run: dotnet build Sources/AngouriMath/AngouriMath.csproj
- name: Build FSharp
run: dotnet build Sources/Wrappers/AngouriMath.FSharp/AngouriMath.FSharp.fsproj
- name: Build Interactive
run: dotnet build Sources/Wrappers/AngouriMath.Interactive/AngouriMath.Interactive.fsproj
- name: Build Analyzers
run: dotnet build Sources/Analyzers/Analyzers/Analyzers.csproj
- name: Build Utils
run: dotnet build Sources/Utils/Utils/Utils.csproj
# The samples are the code most like what a user writes, and nothing built them
# until now. Two of them called integral(f, x, 1), which stopped parsing in 1.4.0,
# and stayed broken for seven months because no job compiled or ran them.
- name: Build samples
run: |
dotnet build Sources/Samples/SampleNet5/SampleNet5.csproj
dotnet build Sources/Samples/FSharpSample/FSharpSample.fsproj
dotnet build Sources/Samples/FSharpPlayground/FSharpPlayground.fsproj
dotnet build Sources/Samples/Samples/Playground.csproj
dotnet build Sources/Samples/InteractivePlayground/InteractivePlayground.fsproj
dotnet build Sources/Samples/AngouriMathPlot/AngouriMathPlot.csproj
dotnet build Sources/Samples/GraphicExample/GraphicExample.csproj
# Building is not enough: both samples that broke compiled cleanly and threw at
# runtime. Only the console ones can run here -- AngouriMathPlot and GraphicExample
# are windowed, and InteractivePlayground opens a browser through Plotly.
- name: Run console samples
run: |
dotnet run --project Sources/Samples/SampleNet5/SampleNet5.csproj --no-build
dotnet run --project Sources/Samples/FSharpSample/FSharpSample.fsproj --no-build
dotnet run --project Sources/Samples/FSharpPlayground/FSharpPlayground.fsproj --no-build
dotnet run --project Sources/Samples/Samples/Playground.csproj --no-build