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