From e8570cb3456d5e031ce049927c3c9de99aee75b9 Mon Sep 17 00:00:00 2001 From: Lucas EVARD Date: Fri, 7 Oct 2022 06:52:16 +0000 Subject: [PATCH] =?UTF-8?q?int=C3=A9gration=20du=20fichier=20yml=20pour=20?= =?UTF-8?q?la=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..f2bfbc5 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,23 @@ +kind: pipeline +type: docker +name: CI_CONSECO + +trigger : + event: + - push + +steps: + - name: build + image: mcr.microsoft.com/dotnet/sdk:6.0 + commands: + - cd Code + - dotnet restore CI_CONSECO.sln + - dotnet build CI_CONSECO.sln -c Release --no-restore + - dotnet publish CI_CONSECO.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release + - name: tests + image: mcr.microsoft.com/dotnet/sdk:6.0 + commands: + - cd Code + - dotnet restore CI_CONSECO.sln + - dotnet test CI_CONSECO.sln --no-restore + depends_on: [build] \ No newline at end of file