aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeifa <26681464+TrickyLeifa@users.noreply.github.com>2024-06-24 14:17:52 +0200
committerGitHub <noreply@github.com>2024-06-24 14:17:52 +0200
commitaccbc17f51959427458edb2ed5335a202e74b18b (patch)
treefdc885fc6882cad87cf866c83696e32c84f97a2e
parentd2b4d5fb2db5cbb4e14ab699334f54b8d3a14c2c (diff)
Fetch APNG and build it
-rw-r--r--.github/workflows/build.yml46
1 files changed, 29 insertions, 17 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 45eb0cc5..2f78c05d 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -52,14 +52,6 @@ jobs:
run: |
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
shell: bash
run: |
@@ -90,8 +82,22 @@ jobs:
cp ./bass/c/x64/bassopus.lib ./lib/
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
- run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release
+ run: |
+ cmake .
+ cmake --build . --config Release
- name: Deploy Windows
working-directory: ${{github.workspace}}/bin/
@@ -160,16 +166,22 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- - name: Configure CMake
- run: >
- cmake -B ${{ steps.strings.outputs.build-output-dir }}
- -DCMAKE_CXX_COMPILER=g++
- -DCMAKE_C_COMPILER=gcc
- -DCMAKE_BUILD_TYPE=Release
- -S ${{ github.workspace }}
+ - 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
- run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release
+ run: |
+ cmake .
+ cmake --build . --config Release
- name: Deploy Linux
working-directory: ${{github.workspace}}/bin/