mirror of
				https://github.com/gnif/LookingGlass.git
				synced 2025-10-31 04:31:57 +00:00 
			
		
		
		
	[host] windows: build pull requests and master with GitHub Actions
This commit is contained in:
		
							
								
								
									
										23
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										23
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -51,3 +51,26 @@ jobs: | ||||
|       run: | | ||||
|         cd host/build | ||||
|         make -j$(nproc) | ||||
|  | ||||
|   host-windows: | ||||
|     runs-on: ubuntu-20.04 | ||||
|     steps: | ||||
|     - uses: actions/checkout@v1 | ||||
|       with: | ||||
|         submodules: recursive | ||||
|     - name: Install Windows host dependencies | ||||
|       run: | | ||||
|         sudo apt-get install gcc-mingw-w64-x86-64 g++-mingw-w64-x86-64 nsis | ||||
|     - name: Configure Windows host | ||||
|       run: | | ||||
|         mkdir host/build | ||||
|         cd host/build | ||||
|         cmake -DCMAKE_TOOLCHAIN_FILE=../toolchain-mingw64.cmake .. | ||||
|     - name: Build Windows host | ||||
|       run: | | ||||
|         cd host/build | ||||
|         make -j$(nproc) | ||||
|     - name: Build Windows host installer | ||||
|       run: | | ||||
|         cd host/build | ||||
|         makensis platform/Windows/installer.nsi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Quantum
					Quantum