You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
532 B

image: microsoft/dotnet:latest
before_script:
- cd TheGameExtreme
- dotnet restore view
- dotnet restore model
build:
stage : build
script:
- dotnet build -c Release --no-restore view
- dotnet build -c Release --no-restore model
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release view
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release model
unit_tests:
stage : test
script:
- dotnet test --no-restore view
- dotnet test --no-restore model