mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Killed history
This commit is contained in:
29
.gitlab-ci.yml
Normal file
29
.gitlab-ci.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
# taken from https://gitlab.com/forrestab/dotnet-gitlab-ci/blob/master/.gitlab-ci.yml
|
||||
image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
||||
|
||||
stages:
|
||||
- build
|
||||
# - test
|
||||
|
||||
variables:
|
||||
project: "NadekoBot"
|
||||
|
||||
before_script:
|
||||
- "dotnet restore"
|
||||
|
||||
build:
|
||||
stage: build
|
||||
variables:
|
||||
build_path: "src/$project"
|
||||
script:
|
||||
- "cd $build_path"
|
||||
- "dotnet build -c Release"
|
||||
|
||||
# test:
|
||||
# image: mcr.microsoft.com/dotnet/core/sdk:2.1
|
||||
# stage: test
|
||||
# variables:
|
||||
# tests_path: "Nadeko.Tests"
|
||||
# script:
|
||||
# - "cd $tests_path"
|
||||
# - "dotnet test"
|
Reference in New Issue
Block a user