mirror of
				https://codeberg.org/h3xx/simplify_static_dir
				synced 2024-08-14 23:57:24 +00:00 
			
		
		
		
	CI: Add gitlab-ci.yml
This commit is contained in:
		
							parent
							
								
									99207ed0fc
								
							
						
					
					
						commit
						5da826e664
					
				
					 2 changed files with 25 additions and 1 deletions
				
			
		
							
								
								
									
										24
									
								
								.gitlab-ci.yml
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								.gitlab-ci.yml
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,24 @@ | ||||||
|  | stages: | ||||||
|  |   - build | ||||||
|  |   - test | ||||||
|  | 
 | ||||||
|  | build-allinone: | ||||||
|  |   stage: build | ||||||
|  |   script: | ||||||
|  |     - ./make-allinone.sh | ||||||
|  |   artifacts: | ||||||
|  |     expire_in: 1 day | ||||||
|  |     paths: | ||||||
|  |       - simplify_static_dir.pl | ||||||
|  | 
 | ||||||
|  | test-run: | ||||||
|  |   stage: test | ||||||
|  |   script: | ||||||
|  |     - t/run.sh | ||||||
|  | 
 | ||||||
|  | test-run-allinone: | ||||||
|  |   stage: test | ||||||
|  |   dependencies: | ||||||
|  |     - build-allinone | ||||||
|  |   script: | ||||||
|  |     - SCRIPT=~+/simplify_static_dir.pl t/run.sh | ||||||
							
								
								
									
										2
									
								
								t/run.sh
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								t/run.sh
									
										
									
									
									
								
							|  | @ -3,7 +3,7 @@ | ||||||
| 
 | 
 | ||||||
| WORKDIR=${0%/*} | WORKDIR=${0%/*} | ||||||
| . "$WORKDIR/funcs.sh" | . "$WORKDIR/funcs.sh" | ||||||
| SCRIPT=$(realpath -- "$WORKDIR/../simplify_static_dir-main.pl") | SCRIPT=${SCRIPT:-$(realpath -- "$WORKDIR/../simplify_static_dir-main.pl")} | ||||||
| TAR=$(realpath -- "$WORKDIR/t.tar") | TAR=$(realpath -- "$WORKDIR/t.tar") | ||||||
| TEMPDIR=$(mktemp -d -t "${0##*/}.XXXXXX") | TEMPDIR=$(mktemp -d -t "${0##*/}.XXXXXX") | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue