mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-03 16:24:27 -05: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"
 | 
			
		||||
@@ -18,6 +19,15 @@ build:
 | 
			
		||||
  script:
 | 
			
		||||
    - "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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user