|
|
@ -10,15 +10,17 @@ steps:
|
|
|
|
- name: build
|
|
|
|
- name: build
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- dotnet restore /drone/src/Sources/LeagueOfLegends.sln
|
|
|
|
- cd Sources
|
|
|
|
- dotnet build /drone/src/Sources/LeagueOfLegends.sln -c Release --no-restore
|
|
|
|
- dotnet restore LeagueOfLegends.sln
|
|
|
|
- dotnet publish /drone/src/Sources/LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
|
|
|
|
- dotnet build LeagueOfLegends.sln -c Release --no-restore
|
|
|
|
|
|
|
|
- dotnet publish LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
|
|
|
|
|
|
|
|
|
|
|
|
- name: tests
|
|
|
|
- name: tests
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- dotnet restore /drone/src/Sources/LeagueOfLegends.sln
|
|
|
|
- cd Sources
|
|
|
|
- dotnet test /drone/src/Sources/LeagueOfLegends.sln --no-restore
|
|
|
|
- dotnet restore LeagueOfLegends.sln
|
|
|
|
|
|
|
|
- dotnet test LeagueOfLegends.sln --no-restore
|
|
|
|
depends_on: [build]
|
|
|
|
depends_on: [build]
|
|
|
|
|
|
|
|
|
|
|
|
- name: code-analysis
|
|
|
|
- name: code-analysis
|
|
|
|