mirror of
				https://github.com/smaeul/u-boot.git
				synced 2025-10-31 03:58:17 +00:00 
			
		
		
		
	gitlab-ci: Split the world build into 4 jobs
To better allow for parallelization of the world build job split things into 32bit ARM (687 boards), 64bit ARM (215), PowerPC (311 boards) and everything else (167 boards). While the 32bit ARM job is heavier than I would like, there is not a natural split that would reduce it in half or so without requiring the sort of hard to maintain splits we have to do in Travis CI. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		
							parent
							
								
									7fd0ea2b63
								
							
						
					
					
						commit
						9f7bda1043
					
				| @ -68,12 +68,45 @@ stages: | |||||||
|         fi; |         fi; | ||||||
|       fi; |       fi; | ||||||
| 
 | 
 | ||||||
| build all plaforms: | build all 32bit ARM plaforms: | ||||||
|   tags: [ 'all' ] |   tags: [ 'all' ] | ||||||
|   stage: world build |   stage: world build | ||||||
|   script: |   script: | ||||||
|     - ret=0; |     - ret=0; | ||||||
|      ./tools/buildman/buildman -P -E || ret=$?; |      ./tools/buildman/buildman -P -E arm -x aarch64 || ret=$?; | ||||||
|  |      if [[ $ret -ne 0 && $ret -ne 129 ]]; then | ||||||
|  |        ./tools/buildman/buildman -sdeP; | ||||||
|  |        exit $ret; | ||||||
|  |      fi; | ||||||
|  | 
 | ||||||
|  | build all 64bit ARM plaforms: | ||||||
|  |   tags: [ 'all' ] | ||||||
|  |   stage: world build | ||||||
|  |   script: | ||||||
|  |     - ret=0; | ||||||
|  |      ./tools/buildman/buildman -P -E aarch64 || ret=$?; | ||||||
|  |      if [[ $ret -ne 0 && $ret -ne 129 ]]; then | ||||||
|  |        ./tools/buildman/buildman -sdeP; | ||||||
|  |        exit $ret; | ||||||
|  |      fi; | ||||||
|  | 
 | ||||||
|  | build all PowerPC plaforms: | ||||||
|  |   tags: [ 'all' ] | ||||||
|  |   stage: world build | ||||||
|  |   script: | ||||||
|  |     - ret=0; | ||||||
|  |      ./tools/buildman/buildman -P -E powerpc || ret=$?; | ||||||
|  |      if [[ $ret -ne 0 && $ret -ne 129 ]]; then | ||||||
|  |        ./tools/buildman/buildman -sdeP; | ||||||
|  |        exit $ret; | ||||||
|  |      fi; | ||||||
|  | 
 | ||||||
|  | build all other plaforms: | ||||||
|  |   tags: [ 'all' ] | ||||||
|  |   stage: world build | ||||||
|  |   script: | ||||||
|  |     - ret=0; | ||||||
|  |      ./tools/buildman/buildman -P -E -x arm,powerpc || ret=$?; | ||||||
|      if [[ $ret -ne 0 && $ret -ne 129 ]]; then |      if [[ $ret -ne 0 && $ret -ne 129 ]]; then | ||||||
|        ./tools/buildman/buildman -sdeP; |        ./tools/buildman/buildman -sdeP; | ||||||
|        exit $ret; |        exit $ret; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user