mirror of
				https://github.com/GrapheneOS/hardened_malloc.git
				synced 2025-11-04 09:46:32 +01:00 
			
		
		
		
	Run the testsuite on multiple compiler versions
This commit is contained in:
		
							parent
							
								
									88b3c1acf9
								
							
						
					
					
						commit
						352c083f65
					
				
					 1 changed files with 14 additions and 0 deletions
				
			
		
							
								
								
									
										14
									
								
								.github/workflows/build-and-test.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/build-and-test.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -9,14 +9,28 @@ on:
 | 
			
		|||
jobs:
 | 
			
		||||
  build-ubuntu-gcc:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        version: [12]
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - name: Setting up gcc version
 | 
			
		||||
        run: |
 | 
			
		||||
          sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-${{ matrix.version }} 100
 | 
			
		||||
          sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-${{ matrix.version }} 100
 | 
			
		||||
      - name: Build
 | 
			
		||||
        run: make test
 | 
			
		||||
  build-ubuntu-clang:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        version: [14, 15]
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
      - name: Setting up clang version
 | 
			
		||||
        run: |
 | 
			
		||||
          sudo update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${{ matrix.version }} 100
 | 
			
		||||
          sudo update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${{ matrix.version }} 100
 | 
			
		||||
      - name: Build
 | 
			
		||||
        run: CC=clang CXX=clang++ make test
 | 
			
		||||
  build-musl:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue