|
|
@ -2,21 +2,21 @@ image: microsoft/dotnet:latest
|
|
|
|
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
- cd TheGameExtreme
|
|
|
|
- cd TheGameExtreme
|
|
|
|
- dotnet restore View
|
|
|
|
- dotnet restore view
|
|
|
|
- dotnet restore Model
|
|
|
|
- dotnet restore model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
stage : build
|
|
|
|
stage : build
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- dotnet build -c Release --no-restore View
|
|
|
|
- dotnet build -c Release --no-restore view
|
|
|
|
- dotnet build -c Release --no-restore Model
|
|
|
|
- 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 view
|
|
|
|
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release Model
|
|
|
|
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release model
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unit_tests:
|
|
|
|
unit_tests:
|
|
|
|
stage : test
|
|
|
|
stage : test
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- dotnet test --no-restore View
|
|
|
|
- dotnet test --no-restore view
|
|
|
|
- dotnet test --no-restore Model
|
|
|
|
- dotnet test --no-restore model
|