|
|
@ -1,15 +1,15 @@
|
|
|
|
image: mcr.microsoft.com/dotnet/core/sdk:3.0
|
|
|
|
image: mcr.microsoft.com/dotnet/sdk:5.0
|
|
|
|
|
|
|
|
|
|
|
|
before_script:
|
|
|
|
before_script:
|
|
|
|
- dotnet restore
|
|
|
|
- dotnet restore Exemples_coreOnly.sln
|
|
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
stage: build
|
|
|
|
tags:
|
|
|
|
tags:
|
|
|
|
- docker
|
|
|
|
- docker
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
- dotnet build -c Release --no-restore
|
|
|
|
- dotnet build Exemples_coreOnly.sln -c Release --no-restore
|
|
|
|
- dotnet publish -c Release --no-restore -o $CI_PROJECT_DIR/build/release
|
|
|
|
- dotnet publish Exemples_coreOnly.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release
|
|
|
|
artifacts:
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
paths:
|
|
|
|
- $CI_PROJECT_DIR/build/release
|
|
|
|
- $CI_PROJECT_DIR/build/release
|
|
|
@ -17,4 +17,4 @@ build:
|
|
|
|
#test:
|
|
|
|
#test:
|
|
|
|
# stage: test
|
|
|
|
# stage: test
|
|
|
|
# script:
|
|
|
|
# script:
|
|
|
|
# - dotnet test --no-restore
|
|
|
|
# - dotnet test --no-restore
|
|
|
|