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.

35 lines
951 B

image: microsoft/dotnet:latest
before_script:
- cd TheGameExtreme
- dotnet restore view
- dotnet restore model
- dotnet restore viewmodel
- cd ../TheGameExtreme.Android
- dotnet restore view
- cd ../TheGameExtreme.IOS
- dotnet restore view
- cd ../test
- dotnet restore view
- dotnet restore model
- dotnet restore viewmodel
build:
stage : build
script:
- dotnet build -c Release --no-restore view
- dotnet build -c Release --no-restore model
- dotnet build -c Release --no-restore viewmodel
- 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 viewmodel
unit_tests:
stage : test
script:
- dotnet test --no-restore view
- dotnet test --no-restore model
- dotnet test --no-restore viewmodel