|
|
@ -8,14 +8,14 @@ trigger:
|
|
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
- name: build
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:6.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:7.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- dotnet restore /drone/src/Sources/LeagueOfLegends.sln
|
|
|
|
- dotnet restore /drone/src/Sources/LeagueOfLegends.sln
|
|
|
|
- dotnet build /drone/src/Sources/LeagueOfLegends.sln -c Release --no-restore
|
|
|
|
- dotnet build /drone/src/Sources/LeagueOfLegends.sln -c Release --no-restore
|
|
|
|
- dotnet publish /drone/src/Sources/LeagueOfLegends.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release
|
|
|
|
- dotnet publish /drone/src/Sources/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:7.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- dotnet restore /drone/src/Sources/LeagueOfLegends.sln
|
|
|
|
- dotnet restore /drone/src/Sources/LeagueOfLegends.sln
|
|
|
|
- dotnet test /drone/src/Sources/LeagueOfLegends.sln --no-restore
|
|
|
|
- dotnet test /drone/src/Sources/LeagueOfLegends.sln --no-restore
|
|
|
|