mirror of
				https://github.com/PancakeTAS/lsfg-vk.git
				synced 2025-10-30 07:01:10 +00:00 
			
		
		
		
	enhancement(flatpakui): create github action for continuous integration
This commit is contained in:
		
							parent
							
								
									7deeea9e98
								
							
						
					
					
						commit
						2de618809c
					
				
					 5 changed files with 40 additions and 3 deletions
				
			
		
							
								
								
									
										37
									
								
								.github/workflows/flatpak_ci.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										37
									
								
								.github/workflows/flatpak_ci.yml
									
										
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1,37 @@ | ||||||
|  | name: (Continuous Integration) Build lsfg-vk for Flatpak | ||||||
|  | 
 | ||||||
|  | on: | ||||||
|  |   push: | ||||||
|  |     branches: ["develop"] | ||||||
|  | 
 | ||||||
|  | jobs: | ||||||
|  |   flatpak-extensions: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         version: ["23.08", "24.08"] | ||||||
|  |     container: | ||||||
|  |       image: ghcr.io/flathub-infra/flatpak-github-actions:freedesktop-${{ matrix.version }} | ||||||
|  |       options: --privileged | ||||||
|  |     steps: | ||||||
|  |       - name: Checkout repository | ||||||
|  |         uses: actions/checkout@v4 | ||||||
|  |       - name: Build Flatpak extension (${{ matrix.version }}) | ||||||
|  |         uses: flatpak/flatpak-github-actions/flatpak-builder@v6 | ||||||
|  |         with: | ||||||
|  |           bundle: "org.freedesktop.Platform.VulkanLayer.lsfg_vk_${{ matrix.version }}.flatpak" | ||||||
|  |           manifest-path: "scripts/flatpak/org.freedesktop.Platform.VulkanLayer.lsfgvk_${{ matrix.version }}.yml" | ||||||
|  |           verbose: true | ||||||
|  |   flatpak-ui: | ||||||
|  |     runs-on: ubuntu-latest | ||||||
|  |     container: | ||||||
|  |       image: ghcr.io/flathub-infra/flatpak-github-actions:gnome-48 | ||||||
|  |     steps: | ||||||
|  |       - name: Checkout repository | ||||||
|  |         uses: actions/checkout@v4 | ||||||
|  |       - name: Build Flatpak | ||||||
|  |         uses: flatpak/flatpak-github-actions/flatpak-builder@v6 | ||||||
|  |         with: | ||||||
|  |           bundle: "gay.pancake.lsfg-vk-ui.flatpak" | ||||||
|  |           manifest-path: "scripts/flatpak/gay.pancake.lsfg-vk-ui.yml" | ||||||
|  |           verbose: true | ||||||
|  | @ -32,4 +32,4 @@ modules: | ||||||
|       - install -Dm644 ./rsc/icon.png /app/share/icons/hicolor/256x256/apps/gay.pancake.lsfg-vk-ui.png |       - install -Dm644 ./rsc/icon.png /app/share/icons/hicolor/256x256/apps/gay.pancake.lsfg-vk-ui.png | ||||||
|     sources: |     sources: | ||||||
|       - type: dir |       - type: dir | ||||||
|         path: ../../ui |         path: ../ui | ||||||
|  | @ -26,6 +26,6 @@ modules: | ||||||
|       - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On |       - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On | ||||||
|     sources: |     sources: | ||||||
|       - type: dir |       - type: dir | ||||||
|         path: ../.. |         path: .. | ||||||
|       - type: patch |       - type: patch | ||||||
|         path: VkLayer_LS_frame_generation.patch |         path: VkLayer_LS_frame_generation.patch | ||||||
|  | @ -26,6 +26,6 @@ modules: | ||||||
|       - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On |       - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=On | ||||||
|     sources: |     sources: | ||||||
|       - type: dir |       - type: dir | ||||||
|         path: ../.. |         path: .. | ||||||
|       - type: patch |       - type: patch | ||||||
|         path: VkLayer_LS_frame_generation.patch |         path: VkLayer_LS_frame_generation.patch | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 PancakeTAS
						PancakeTAS