Skip to content

A power of the secant beside a power of a + i a tan is integrated in … #3099

A power of the secant beside a power of a + i a tan is integrated in …

A power of the secant beside a power of a + i a tan is integrated in … #3099

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
# AngouriMath.Terminal is a published package -- Nuget.yml packs and pushes it as a
# dotnet tool -- and no pre-merge job built it. TerminalNightly.yml is the only other job
# that does, and it fires on a release, so a change that breaks the terminal would not be
# seen until a release was cut.
- name: Build Terminal
run: dotnet build Sources/Terminal/AngouriMath.Terminal/AngouriMath.Terminal.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