|
|
@ -12,15 +12,15 @@ steps:
|
|
|
|
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
|
|
|
|
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd MangaMap/
|
|
|
|
- cd MangaMap/
|
|
|
|
- dotnet restore MangaMap.sln
|
|
|
|
- dotnet restore MangaMap.sln --framework net7.0
|
|
|
|
- dotnet build MangaMap.sln -c Debug --no-restore
|
|
|
|
- dotnet build MangaMap.sln -c Debug --no-restore --framework net7.0
|
|
|
|
- dotnet publish MangaMap.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
|
|
|
|
- dotnet publish MangaMap.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release --framework net7.0
|
|
|
|
|
|
|
|
|
|
|
|
- name: tests
|
|
|
|
- name: tests
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:7.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:7.0
|
|
|
|
commands:
|
|
|
|
commands:
|
|
|
|
- cd MangaMap/
|
|
|
|
- cd MangaMap/
|
|
|
|
- dotnet restore MangaMap.sln
|
|
|
|
- dotnet restore MangaMap.sln
|
|
|
|
- dotnet test MangaMap.sln --logger trx --no-restore
|
|
|
|
- dotnet test MangaMap.sln --logger trx --no-restore
|
|
|
|
depends_on: [build]
|
|
|
|
depends_on: [build]
|
|
|
|
|
|
|
|
|
|
|
|