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.

26 lines
886 B

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