.gitlab-ci.yml 285 B

12345678910111213141516171819
  1. image: mcr.microsoft.com/dotnet/core/sdk:3.1
  2. stages:
  3. - build
  4. - test
  5. variables:
  6. test: "Example.Test"
  7. build:
  8. stage: build
  9. script:
  10. - export PATH="$PATH:/root/.dotnet/tools"
  11. - "dotnet build"
  12. test:
  13. stage: test
  14. script:
  15. - "dotnet test"