we check if we are in a GIT working tree and load revision from version.c if we are not. also includes grafx2-2.5*-src.tgz in artifacts
		
			
				
	
	
		
			27 lines
		
	
	
		
			678 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			678 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
before_script:
 | 
						|
    - apt-get update -qq && apt-get install -y -qq libsdl1.2-dev libpng-dev libsdl-ttf2.0-dev libsdl-image1.2-dev liblua5.1-0-dev zip
 | 
						|
    - apt-get install -y -qq gcc-mingw-w64-i686 mingw-w64-tools nsis
 | 
						|
 | 
						|
stages:
 | 
						|
    - build
 | 
						|
 | 
						|
job_linux:
 | 
						|
    stage: build
 | 
						|
    script: "cd src && make && make ziprelease"
 | 
						|
    artifacts:
 | 
						|
        paths:
 | 
						|
            - "*.zip"
 | 
						|
            - "*.tgz"
 | 
						|
 | 
						|
job_win32:
 | 
						|
    stage: build
 | 
						|
    script:
 | 
						|
        - "WIN32CROSS=1 make 3rdparty"
 | 
						|
        - "WIN32CROSS=1 make -j3"
 | 
						|
        - "WIN32CROSS=1 make ziprelease"
 | 
						|
        - "WIN32CROSS=1 make win32installer"
 | 
						|
    artifacts:
 | 
						|
        paths:
 | 
						|
            - "*.zip"
 | 
						|
            - "install/grafx2*.exe"
 |