Ensure that cmake and clang are installed
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 7s
				
			
		
			
				
	
				CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 8s
				
			
		
			
				
	
				CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 7s
				
			
		
			
				
	
				CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Failing after 7s
				
			
		
			
				
	
				CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Failing after 7s
				
			
		
			
				
	
				CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Failing after 8s
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-20.04) (push) Failing after 7s
				
			CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-22.04) (push) Failing after 8s
				
			CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (clang, 1.4.0, ubuntu-latest) (push) Failing after 7s
				
			CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-20.04) (push) Failing after 7s
				
			CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-22.04) (push) Failing after 7s
				
			CI Meson / Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }} (gcc, 1.4.0, ubuntu-latest) (push) Failing after 8s
				
			This commit is contained in:
		
							parent
							
								
									566ad17766
								
							
						
					
					
						commit
						56168f5a3f
					
				@ -17,12 +17,13 @@ on:
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
    build:
 | 
			
		||||
        name: Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }}
 | 
			
		||||
        name: Build on ${{ matrix.os }} with Meson v${{ matrix.meson_version }} and ${{ matrix.comp }}
 | 
			
		||||
        runs-on: ${{ matrix.os }}
 | 
			
		||||
        strategy:
 | 
			
		||||
            matrix:
 | 
			
		||||
                os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04]
 | 
			
		||||
                os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04]
 | 
			
		||||
                meson_version: ["1.4.0"]
 | 
			
		||||
                comp: [gcc, clang]
 | 
			
		||||
        steps:
 | 
			
		||||
            - name: Checkout Code
 | 
			
		||||
              uses: https://gitea.com/ScMi1/checkout@v1
 | 
			
		||||
@ -31,11 +32,13 @@ jobs:
 | 
			
		||||
              with:
 | 
			
		||||
                python-version: '3.x'
 | 
			
		||||
            - name: Install Dependencies
 | 
			
		||||
              run: python -m pip install meson==${{ matrix.meson_version }} ninja
 | 
			
		||||
              run: |
 | 
			
		||||
                python -m pip install meson==${{ matrix.meson_version }} ninja
 | 
			
		||||
                apt-install -y cmake clang build-essential
 | 
			
		||||
            - name: Configure Project
 | 
			
		||||
              run: meson setup build
 | 
			
		||||
              env:
 | 
			
		||||
                CC: gcc
 | 
			
		||||
                CC: ${{ matrix.comp }}
 | 
			
		||||
            - name: Compile
 | 
			
		||||
              run: meson compile -C build
 | 
			
		||||
            - name: Run Tests
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user