You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
614 B
26 lines
614 B
kind: pipeline
|
|
type: docker
|
|
name: MineGuide_CI_Pipeline
|
|
|
|
trigger:
|
|
branch:
|
|
- develop
|
|
event:
|
|
- push
|
|
|
|
steps:
|
|
- name: build
|
|
image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest
|
|
commands:
|
|
- cd Sources/
|
|
- dotnet restore MineGuide.sln
|
|
- dotnet build MineGuide.sln -c Release --no-restore
|
|
- dotnet publish MineGuide.sln -c Release --no-restore
|
|
|
|
- name: tests
|
|
image: mcr.microsoft.com/dotnet/sdk:7.0
|
|
commands:
|
|
- cd Sources/
|
|
- dotnet restore "MineGuide.sln"
|
|
- dotnet test "MineGuide.sln" --no-restore
|
|
depends_on: [build] |