mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2024-10-03 04:23:13 +00:00
38c7f32a76
- Moved all bot files to src/NadekoBot - Fixed tests path in ci - Fixed some warnings in MusicService - Cleaned up csproj slightly
28 lines
No EOL
414 B
YAML
28 lines
No EOL
414 B
YAML
image: mcr.microsoft.com/dotnet/sdk:5.0
|
|
|
|
stages:
|
|
- build
|
|
- test
|
|
|
|
variables:
|
|
project: "NadekoBot"
|
|
tests: "NadekoBot.Tests"
|
|
|
|
before_script:
|
|
- "dotnet restore"
|
|
|
|
build:
|
|
stage: build
|
|
variables:
|
|
build_path: "src/$project"
|
|
script:
|
|
- "cd $build_path"
|
|
- "dotnet build -c Release"
|
|
|
|
test:
|
|
stage: test
|
|
variables:
|
|
tests_path: "src/$tests"
|
|
script:
|
|
- "cd $tests_path"
|
|
- "dotnet test" |