Update (Vu_homePage): Drone file

pull/2/head
Louis DUFOUR 1 year ago
parent 5eeb38c154
commit 1c0539661e

@ -14,7 +14,7 @@ steps:
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
commands:
- dotnet tool install -g CSharpier # Installez CSharpier si necessaire
- cd src/
- cd src/BookApp
- csharpier --check . # Verifie le formatage
- csharpier --write . # Applique le formatage
@ -25,7 +25,6 @@ steps:
- dotnet restore BookApp.sln
- dotnet build BookApp.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0
- dotnet publish BookApp/BookApp.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk
depends_on: [format]
- name: test
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
@ -53,6 +52,7 @@ steps:
- reportgenerator -reports:"**/coverage.cobertura.xml" -reporttypes:SonarQube -targetdir:"coveragereport"
- dotnet publish BookApp/BookApp.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk
- dotnet sonarscanner end /d:sonar.login=$${sonar_token}
depends_on: [build]
#- name: docs

Loading…
Cancel
Save