Merge branch 'master' of https://codefirst.iut.uca.fr/git/jade.van_brabandt/Projet_IHM
continuous-integration/drone/push Build is failing Details

Popup_qui_marche_pas
Jade VAN BRABANDT 2 years ago
commit f1214c8bf4

@ -1,6 +1,6 @@
kind: pipeline kind: pipeline
type: docker type: docker
name: default name: CI
trigger: trigger:
event: event:
@ -8,22 +8,19 @@ trigger:
steps: steps:
- name: build - name: build
image: mcr.microsoft.com/dotnet/sdk:7.0 image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
volumes:
- name: docs
path: /docs
commands: commands:
- cd Sources/ - cd Sources/
- dotnet restore Stim.sln - dotnet restore Stim.sln
- dotnet build Stim.sln -c Release --no-restore - dotnet build Stim.sln -c Release --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0
- dotnet publish Stim.sln -c Release --no-restore -o CI_PROJECT_DIR/build/release - dotnet publish Stim/Stim.csproj -c Release --no-restore -o $CI_PROJECT_DIR/build/release -f:net7.0-android /p:AndroidSdkDirectory=/usr/lib/android-sdk
- name: tests - name: tests
image: mcr.microsoft.com/dotnet/sdk:7.0 image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
commands: commands:
- cd Sources/ - cd Sources/
- dotnet restore Stim.sln - dotnet restore Stim.sln
- dotnet test Stim.sln --no-restore - dotnet test Stim.sln --no-restore /p:AndroidSdkDirectory=$ANDROID_SDK_ROOT -property:Aapt2ToolPath=$ANDROID_SDK_ROOT/build-tools/33.0.0
depends_on: [build] depends_on: [build]
- name: code-analysis - name: code-analysis

Loading…
Cancel
Save