From 6b7fe572fdf717998d4ba0d0dd3f260353d8a807 Mon Sep 17 00:00:00 2001 From: Disyer Date: Wed, 31 Jan 2024 23:58:44 +0200 Subject: [PATCH] test --- .gitlab-ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitlab-ci.yml diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..8e2c44f --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,22 @@ +stages: + - build + +variables: + MSBUILD_TARGET: 'CleanFlashInstaller/CleanFlashInstaller.csproj' + +before_script: + - choco install visualstudio2019buildtools -y + - choco install visualstudio2022community --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.x86.x64" + - RefreshEnv.cmd + +build: + stage: build + script: + - '& nuget restore' # restore Nuget dependencies + - '& msbuild "$env:MSBUILD_TARGET" /p:Configuration=Release' + +artifacts: + paths: + - 'CleanFlashInstaller/bin/Release/*.exe' + only: + - tags