Mise à jour de '.drone.yml'
continuous-integration/drone/push Build is passing Details

pull/1/head
Théo DUPIN 2 years ago
parent 78bffb4cfc
commit 7b294344d9

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

Loading…
Cancel
Save