You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
543 B
25 lines
543 B
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]
|