From a8d7589d0c907768f05ca3abe5e07b972b044428 Mon Sep 17 00:00:00 2001 From: macheval Date: Tue, 17 Sep 2019 14:55:24 +0200 Subject: [PATCH] yml ci file --- .gitlab-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..7ef7fe4 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,18 @@ +image: microsoft/dotnet:latest + +before_script: + - dotnet restore + +build: + stage: build + script: + - dotnet build -c Release --no-restore + - dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release + artifacts: + paths: + - $CI_PROJECT_DIR/build/release + +test: + stage: test + script: + - dotnet test --no-restore \ No newline at end of file