From 57312e29e2a39f64aedfce91db04b0fc044b055d Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Fri, 2 Jul 2021 01:48:18 +0200 Subject: [PATCH] Build with tagparser on openSUSE --- .github/workflows/ccpp.yml | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 558b8ff32..373d66a08 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -7,7 +7,7 @@ jobs: name: Create source tarball runs-on: ubuntu-latest container: - image: opensuse/leap:15.2 + image: opensuse/leap:15.3 steps: - uses: actions/checkout@v1.2.0 - name: Update packages @@ -79,6 +79,8 @@ jobs: image: opensuse/leap:15.2 steps: - uses: actions/checkout@v1.2.0 + - name: Add tagparser repo + run: zypper -n ar -c -f -n 'repo-tagparser' https://download.opensuse.org/repositories/home:/mkittler/openSUSE_Leap_15.2/ repo-tagparser - name: Update packages run: zypper --non-interactive --gpg-auto-import-keys ref - name: Install openSUSE dependencies @@ -109,6 +111,7 @@ jobs: gstreamer-plugins-base-devel vlc-devel taglib-devel + tagparser-devel libQt5Core-devel libQt5Gui-devel libQt5Gui-private-headers-devel @@ -135,7 +138,7 @@ jobs: - name: Configure CMake shell: bash working-directory: build - run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT5=ON + run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT5=ON -DUSE_TAGLIB=ON -DUSE_TAGPARSER=ON - name: Create source tarball working-directory: build run: ../dist/scripts/maketarball.sh @@ -158,6 +161,8 @@ jobs: - uses: actions/checkout@v1.2.0 - name: Add Qt 6 repo run: zypper -n ar -c -f -n 'repo-qt6' https://download.opensuse.org/repositories/home:/jonaski:/qt6/openSUSE_Leap_15.2/ repo-qt6 + - name: Add tagparser repo + run: zypper -n ar -c -f -n 'repo-tagparser' https://download.opensuse.org/repositories/home:/mkittler/openSUSE_Leap_15.2/ repo-tagparser - name: Update packages run: zypper --non-interactive --gpg-auto-import-keys ref - name: Install openSUSE dependencies @@ -188,6 +193,7 @@ jobs: gstreamer-plugins-base-devel vlc-devel taglib-devel + tagparser-devel qt6-core-devel qt6-gui-devel qt6-gui-private-devel @@ -214,7 +220,7 @@ jobs: - name: Configure CMake shell: bash working-directory: build - run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT6=ON + run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT6=ON -DUSE_TAGLIB=ON -DUSE_TAGPARSER=ON - name: Create source tarball working-directory: build run: ../dist/scripts/maketarball.sh @@ -238,6 +244,8 @@ jobs: image: opensuse/leap:15.3 steps: - uses: actions/checkout@v1.2.0 + - name: Add tagparser repo + run: zypper -n ar -c -f -n 'repo-tagparser' https://download.opensuse.org/repositories/home:/mkittler/openSUSE_Leap_15.3/ repo-tagparser - name: Update packages run: zypper --non-interactive --gpg-auto-import-keys ref - name: Install openSUSE dependencies @@ -268,6 +276,7 @@ jobs: gstreamer-plugins-base-devel vlc-devel taglib-devel + tagparser-devel libQt5Core-devel libQt5Gui-devel libQt5Gui-private-headers-devel @@ -294,7 +303,7 @@ jobs: - name: Configure CMake shell: bash working-directory: build - run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT5=ON + run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT5=ON -DUSE_TAGLIB=ON -DUSE_TAGPARSER=ON - name: Create source tarball working-directory: build run: ../dist/scripts/maketarball.sh @@ -315,6 +324,8 @@ jobs: image: opensuse/leap:15.3 steps: - uses: actions/checkout@v1.2.0 + - name: Add tagparser repo + run: zypper -n ar -c -f -n 'repo-tagparser' https://download.opensuse.org/repositories/home:/mkittler/openSUSE_Leap_15.3/ repo-tagparser - name: Add Qt 6 repo run: zypper -n ar -c -f -n 'repo-qt6' https://download.opensuse.org/repositories/home:/jonaski:/qt6/openSUSE_Leap_15.3/ repo-qt6 - name: Update packages @@ -347,6 +358,7 @@ jobs: gstreamer-plugins-base-devel vlc-devel taglib-devel + tagparser-devel qt6-core-devel qt6-gui-devel qt6-gui-private-devel @@ -373,7 +385,7 @@ jobs: - name: Configure CMake shell: bash working-directory: build - run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT6=ON + run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT6=ON -DUSE_TAGLIB=ON -DUSE_TAGPARSER=ON - name: Create source tarball working-directory: build run: ../dist/scripts/maketarball.sh @@ -397,6 +409,8 @@ jobs: image: opensuse/tumbleweed steps: - uses: actions/checkout@v1.2.0 + - name: Add tagparser repo + run: zypper -n ar -c -f -n 'repo-tagparser' https://download.opensuse.org/repositories/home:/mkittler/openSUSE_Tumbleweed/ repo-tagparser - name: Update packages run: zypper --non-interactive --gpg-auto-import-keys ref - name: Upgrade packages @@ -429,6 +443,7 @@ jobs: gstreamer-plugins-base-devel vlc-devel taglib-devel + tagparser-devel libQt5Core-devel libQt5Gui-devel libQt5Gui-private-headers-devel @@ -455,7 +470,7 @@ jobs: - name: Configure CMake shell: bash working-directory: build - run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT5=ON + run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT5=ON -DUSE_TAGLIB=ON -DUSE_TAGPARSER=ON - name: Create source tarball working-directory: build run: ../dist/scripts/maketarball.sh @@ -476,6 +491,8 @@ jobs: image: opensuse/tumbleweed steps: - uses: actions/checkout@v1.2.0 + - name: Add tagparser repo + run: zypper -n ar -c -f -n 'repo-tagparser' https://download.opensuse.org/repositories/home:/mkittler/openSUSE_Tumbleweed/ repo-tagparser - name: Update packages run: zypper --non-interactive --gpg-auto-import-keys ref - name: Upgrade packages @@ -508,6 +525,7 @@ jobs: gstreamer-plugins-base-devel vlc-devel taglib-devel + tagparser-devel qt6-core-devel qt6-gui-devel qt6-gui-private-devel @@ -534,7 +552,7 @@ jobs: - name: Configure CMake shell: bash working-directory: build - run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT6=ON + run: cmake .. -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DBUILD_WERROR=ON -DBUILD_WITH_QT6=ON -DUSE_TAGLIB=ON -DUSE_TAGPARSER=ON - name: Create source tarball working-directory: build run: ../dist/scripts/maketarball.sh