kind: pipeline type: docker name: default trigger: event: - push steps: - name: build image: mcr.microsoft.com/dotnet/sdk:8.0 commands: - cd Sources/ - dotnet restore Samples.sln - dotnet build Samples.sln -c Release --no-restore - dotnet publish Samples.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - name: tests image: mcr.microsoft.com/dotnet/sdk:8.0 commands: - cd Sources/ - dotnet restore Samples.sln - dotnet test Samples.sln --no-restore depends_on: [build]