Fetch APNG and build it
This commit is contained in:
		
							parent
							
								
									d2b4d5fb2d
								
							
						
					
					
						commit
						accbc17f51
					
				
							
								
								
									
										46
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										46
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							@ -52,14 +52,6 @@ jobs:
 | 
				
			|||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
 | 
					          echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Configure CMake
 | 
					 | 
				
			||||||
        run: >
 | 
					 | 
				
			||||||
          cmake -B ${{ steps.strings.outputs.build-output-dir }}
 | 
					 | 
				
			||||||
          -DCMAKE_CXX_COMPILER=cl
 | 
					 | 
				
			||||||
          -DCMAKE_C_COMPILER=cl
 | 
					 | 
				
			||||||
          -DCMAKE_BUILD_TYPE=Release
 | 
					 | 
				
			||||||
          -S ${{ github.workspace }}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Install Windows Discord RPC
 | 
					      - name: Install Windows Discord RPC
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
@ -90,8 +82,22 @@ jobs:
 | 
				
			|||||||
          cp ./bass/c/x64/bassopus.lib ./lib/
 | 
					          cp ./bass/c/x64/bassopus.lib ./lib/
 | 
				
			||||||
          cp ./bass/x64/bassopus.dll ./bin/
 | 
					          cp ./bass/x64/bassopus.dll ./bin/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Clone Apng plugin
 | 
				
			||||||
 | 
					        uses: actions/checkout@master
 | 
				
			||||||
 | 
					        with:
 | 
				
			||||||
 | 
					          repository: jurplel/QtApng
 | 
				
			||||||
 | 
					          path: ./qtapng
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      - name: Build Apng plugin
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          cd ./qtapng
 | 
				
			||||||
 | 
					          cmake . -D CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE="${{ github.workspace }}/lib"
 | 
				
			||||||
 | 
					          cmake --build . --config Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Build
 | 
					      - name: Build
 | 
				
			||||||
        run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release
 | 
					        run: |
 | 
				
			||||||
 | 
					          cmake .
 | 
				
			||||||
 | 
					          cmake --build . --config Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Deploy Windows
 | 
					      - name: Deploy Windows
 | 
				
			||||||
        working-directory: ${{github.workspace}}/bin/
 | 
					        working-directory: ${{github.workspace}}/bin/
 | 
				
			||||||
@ -160,16 +166,22 @@ jobs:
 | 
				
			|||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
 | 
					          echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Configure CMake
 | 
					      - name: Clone Apng plugin
 | 
				
			||||||
        run: >
 | 
					        uses: actions/checkout@master
 | 
				
			||||||
          cmake -B ${{ steps.strings.outputs.build-output-dir }}
 | 
					        with:
 | 
				
			||||||
          -DCMAKE_CXX_COMPILER=g++
 | 
					          repository: jurplel/QtApng
 | 
				
			||||||
          -DCMAKE_C_COMPILER=gcc
 | 
					          path: ./qtapng
 | 
				
			||||||
          -DCMAKE_BUILD_TYPE=Release
 | 
					
 | 
				
			||||||
          -S ${{ github.workspace }}
 | 
					      - name: Build Apng plugin
 | 
				
			||||||
 | 
					        run: |
 | 
				
			||||||
 | 
					          cd ./qtapng
 | 
				
			||||||
 | 
					          cmake . -D CMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE="${{ github.workspace }}/lib"
 | 
				
			||||||
 | 
					          cmake --build . --config Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Build
 | 
					      - name: Build
 | 
				
			||||||
        run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release
 | 
					        run: |
 | 
				
			||||||
 | 
					          cmake .
 | 
				
			||||||
 | 
					          cmake --build . --config Release
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Deploy Linux
 | 
					      - name: Deploy Linux
 | 
				
			||||||
        working-directory: ${{github.workspace}}/bin/
 | 
					        working-directory: ${{github.workspace}}/bin/
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user