mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	Unify configure steps
This commit is contained in:
		
							parent
							
								
									51070ee5c4
								
							
						
					
					
						commit
						83a744dd8c
					
				
					 1 changed files with 3 additions and 5 deletions
				
			
		
							
								
								
									
										8
									
								
								.github/workflows/compilers.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/compilers.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -186,11 +186,9 @@ jobs:
 | 
			
		|||
      - run: ./autogen.sh
 | 
			
		||||
        working-directory: src
 | 
			
		||||
      - name: Run configure
 | 
			
		||||
        run: ../src/configure -C ${default_configure} ${append_configure} --with-gcc="${default_cc} ${append_cc}"
 | 
			
		||||
        if: ${{ matrix.entry.key != 'crosshost' }}
 | 
			
		||||
      - name: Run cross configure
 | 
			
		||||
        run: ../src/configure -C ${default_configure} ${append_configure} --host="${crosshost}"
 | 
			
		||||
        if: ${{ matrix.entry.key == 'crosshost' }}
 | 
			
		||||
        run: >
 | 
			
		||||
          ../src/configure -C ${default_configure} ${append_configure}
 | 
			
		||||
          ${{ matrix.entry.key == 'crosshost' && '--host="${crosshost}"' || '--with-gcc="${default_cc} ${append_cc}"' }}
 | 
			
		||||
      - run: $make extract-extlibs
 | 
			
		||||
      - run: $make incs
 | 
			
		||||
      - run: $make
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue