mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 01:08:26 -04:00
29 lines
545 B
YAML
29 lines
545 B
YAML
# 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" |