💚 added CI
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ae9cc2e9fb
commit
dae9e9d2c5
@ -0,0 +1,24 @@
|
|||||||
|
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]
|
Loading…
Reference in new issue