# 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"