separate steps for linux and windows
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is failing
				
					Details
				
			
		
	
							parent
							
								
									587f74bf34
								
							
						
					
					
						commit
						2fe0396bcc
					
				
							
								
								
									
										14
									
								
								.drone.yml
								
								
								
								
							
							
						
						
									
										14
									
								
								.drone.yml
								
								
								
								
							|  | @ -3,12 +3,22 @@ type: docker | ||||||
| name: default | name: default | ||||||
| 
 | 
 | ||||||
| steps: | steps: | ||||||
| - name: build | - name: build-linux | ||||||
|   image: thatcosmonaut/moonworks-build |   image: thatcosmonaut/moonworks-build | ||||||
|   commands: |   commands: | ||||||
|     - dnf install -y git cmake SDL2-devel |     - dnf install -y git cmake SDL2-devel | ||||||
|     - git submodule update --recursive --init |     - git submodule update --recursive --init | ||||||
|     - cmake -E make_directory ./build |     - cmake -DCMAKE_C_COMPILER=/usr/bin/clang -E make_directory ./build | ||||||
|  |     - cd ./build | ||||||
|  |     - cmake -S .. -B . | ||||||
|  |     - make | ||||||
|  | 
 | ||||||
|  | - name: build-windows | ||||||
|  |   image: thatcosmonaut/moonworks-build | ||||||
|  |   commands: | ||||||
|  |     - dnf install -y git cmake SDL2-devel | ||||||
|  |     - git submodule update --recursive --init | ||||||
|  |     - cmake -DCMAKE_C_COMPILER=/usr/bin/mingw64 -E make_directory ./build | ||||||
|     - cd ./build |     - cd ./build | ||||||
|     - cmake -S .. -B . |     - cmake -S .. -B . | ||||||
|     - make |     - make | ||||||
		Loading…
	
		Reference in New Issue