Added .drone.yml

Création du fichier
pull/32/head
Nicolas BLONDEAU 2 years ago
parent 0b63f1c9f2
commit 901e949c35

@ -0,0 +1,26 @@
kind: pipeline
type: docker
name: Minecraft_CI_Pipeline
trigger:
branch:
- develop
event:
- push
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:7.0
commands:
- cd Sources/
- dotnet restore Minecraft\ 2.sln
- dotnet build Minecraft\ 2.sln -c Release --no-restore
- dotnet publish Minecraft\ 2.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
- name: tests
image: mcr.microsoft.com/dotnet/sdk:7.0
commands:
- cd Sources/
- dotnet restore Minecraft\ 2.sln
- dotnet test Minecraft\ 2.sln --no-restore
depends_on: [build]
Loading…
Cancel
Save