mirror of
				https://github.com/nigels-com/glew.git
				synced 2025-11-03 22:04:10 +00:00 
			
		
		
		
	gitea: On-prem Linux build coverage for gcc, clang, GLX, EGL and mingw cross-build
This commit is contained in:
		
							parent
							
								
									4822c582b6
								
							
						
					
					
						commit
						ff82681605
					
				
							
								
								
									
										23
									
								
								.gitea/workflows/linux-clang.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitea/workflows/linux-clang.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					name: Ubuntu Linux clang Build
 | 
				
			||||||
 | 
					run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
 | 
				
			||||||
 | 
					on: [push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Install Dependencies
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          apt update
 | 
				
			||||||
 | 
					          apt install -y clang libxmu-dev libxi-dev libgl-dev libegl1-mesa-dev dos2unix
 | 
				
			||||||
 | 
					      - name: Git Checkout
 | 
				
			||||||
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
 | 
					      - name: Generate Code
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          make -C auto clobber
 | 
				
			||||||
 | 
					          make extensions
 | 
				
			||||||
 | 
					          make dist-src
 | 
				
			||||||
 | 
					      - name: Build Binaries
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          make clean && SYSTEM=linux-clang      make
 | 
				
			||||||
 | 
					          make clean && SYSTEM=linux-clang-egl  make
 | 
				
			||||||
							
								
								
									
										43
									
								
								.gitea/workflows/linux-cmake.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								.gitea/workflows/linux-cmake.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,43 @@
 | 
				
			|||||||
 | 
					name: Ubuntu Linux cmake Build
 | 
				
			||||||
 | 
					run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
 | 
				
			||||||
 | 
					on: [push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    strategy:
 | 
				
			||||||
 | 
					      matrix:
 | 
				
			||||||
 | 
					        flavour: [
 | 
				
			||||||
 | 
					          "-DCMAKE_BUILD_TYPE=Debug -DGLEW_X11=Y -DGLEW_EGL=N -DBUILD_SHARED_LIBS=N",
 | 
				
			||||||
 | 
					          "-DCMAKE_BUILD_TYPE=Debug -DGLEW_X11=N -DGLEW_EGL=Y -DBUILD_SHARED_LIBS=N",
 | 
				
			||||||
 | 
					          "-DCMAKE_BUILD_TYPE=Debug -DGLEW_X11=Y -DGLEW_EGL=N -DBUILD_SHARED_LIBS=Y",
 | 
				
			||||||
 | 
					          "-DCMAKE_BUILD_TYPE=Debug -DGLEW_X11=N -DGLEW_EGL=Y -DBUILD_SHARED_LIBS=Y",
 | 
				
			||||||
 | 
					          "-DCMAKE_BUILD_TYPE=Release -DGLEW_X11=Y -DGLEW_EGL=N -DBUILD_SHARED_LIBS=N",
 | 
				
			||||||
 | 
					          "-DCMAKE_BUILD_TYPE=Release -DGLEW_X11=N -DGLEW_EGL=Y -DBUILD_SHARED_LIBS=N",
 | 
				
			||||||
 | 
					          "-DCMAKE_BUILD_TYPE=Release -DGLEW_X11=Y -DGLEW_EGL=N -DBUILD_SHARED_LIBS=Y",
 | 
				
			||||||
 | 
					          "-DCMAKE_BUILD_TYPE=Release -DGLEW_X11=N -DGLEW_EGL=Y -DBUILD_SHARED_LIBS=Y",
 | 
				
			||||||
 | 
					          ]
 | 
				
			||||||
 | 
					    exclude:
 | 
				
			||||||
 | 
					      - os: macos-latest
 | 
				
			||||||
 | 
					        version: 12
 | 
				
			||||||
 | 
					        environment: production
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Install Dependencies
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          apt update
 | 
				
			||||||
 | 
					          apt install -y cmake ninja-build libxmu-dev libxi-dev libgl-dev libegl1-mesa-dev dos2unix
 | 
				
			||||||
 | 
					      - name: Git Checkout
 | 
				
			||||||
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
 | 
					      - name: Generate Code
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          make -C auto clobber
 | 
				
			||||||
 | 
					          make extensions
 | 
				
			||||||
 | 
					          make dist-src
 | 
				
			||||||
 | 
					      - name: Build Binaries
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          mkdir build_
 | 
				
			||||||
 | 
					          cmake build/cmake -B build_ -G Ninja --fresh ${{ matrix.flavour }}
 | 
				
			||||||
 | 
					          cmake --build build_
 | 
				
			||||||
 | 
					          rm -Rf build_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
							
								
								
									
										23
									
								
								.gitea/workflows/linux-gcc.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitea/workflows/linux-gcc.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					name: Ubuntu Linux gcc Build
 | 
				
			||||||
 | 
					run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
 | 
				
			||||||
 | 
					on: [push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Install Dependencies
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          apt update
 | 
				
			||||||
 | 
					          apt install -y libxmu-dev libxi-dev libgl-dev libegl1-mesa-dev dos2unix
 | 
				
			||||||
 | 
					      - name: Git Checkout
 | 
				
			||||||
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
 | 
					      - name: Generate Code
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          make -C auto clobber
 | 
				
			||||||
 | 
					          make extensions
 | 
				
			||||||
 | 
					          make dist-src
 | 
				
			||||||
 | 
					      - name: Build Binaries
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          make clean && SYSTEM=linux            make
 | 
				
			||||||
 | 
					          make clean && SYSTEM=linux-egl        make
 | 
				
			||||||
							
								
								
									
										23
									
								
								.gitea/workflows/linux-mingw.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								.gitea/workflows/linux-mingw.yaml
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,23 @@
 | 
				
			|||||||
 | 
					name: Ubuntu Linux gcc cross-build
 | 
				
			||||||
 | 
					run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
 | 
				
			||||||
 | 
					on: [push]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  build:
 | 
				
			||||||
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					      - name: Install Dependencies
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          apt update
 | 
				
			||||||
 | 
					          apt install -y mingw-w64 dos2unix
 | 
				
			||||||
 | 
					      - name: Git Checkout
 | 
				
			||||||
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
 | 
					      - name: Generate Code
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          make -C auto clobber
 | 
				
			||||||
 | 
					          make extensions
 | 
				
			||||||
 | 
					          make dist-src
 | 
				
			||||||
 | 
					      - name: Build Binaries
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          make clean && SYSTEM=linux-mingw32 make
 | 
				
			||||||
 | 
					          make clean && SYSTEM=linux-mingw64 make
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user