mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
CI should now publish the project for windows64 and linux64. WIP
This commit is contained in:
@@ -3,6 +3,7 @@ image: mcr.microsoft.com/dotnet/sdk:5.0
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- publish
|
||||
|
||||
variables:
|
||||
project: "NadekoBot"
|
||||
@@ -19,6 +20,15 @@ build:
|
||||
- "cd $build_path"
|
||||
- "dotnet build -c Release"
|
||||
|
||||
publish:
|
||||
stage: publish
|
||||
variables:
|
||||
build_path: "src"
|
||||
script:
|
||||
- "cd $build_path"
|
||||
- "dotnet publish -c Release -r win7-x64 -o output-windows-x64 src/NadekoBot/NadekoBot.csproj"
|
||||
- "dotnet publish -c Release -r linux-x64 -o output-linux-x64 src/NadekoBot/NadekoBot.csproj"
|
||||
|
||||
test:
|
||||
stage: test
|
||||
variables:
|
||||
|
Reference in New Issue
Block a user