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