fix: add serial comparison in DConfigCacheImpl::setValue #25
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build dtkcore on Deepin crimson | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| container: | |
| runs-on: ubuntu-latest | |
| container: linuxdeepin/deepin:crimson | |
| strategy: | |
| matrix: | |
| include: | |
| - qt_version: 5 | |
| dtk_profile: nodtk6 | |
| - qt_version: 6 | |
| dtk_profile: nodtk5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup apt sources and build tools | |
| run: | | |
| set -euxo pipefail | |
| echo "deb [trusted=yes] http://mirrors.kernel.org/deepin/beige/ crimson main commercial community" > /etc/apt/sources.list | |
| echo "deb-src [trusted=yes] http://mirrors.kernel.org/deepin/beige/ crimson main commercial community" >> /etc/apt/sources.list | |
| rm -rf /etc/apt/sources.list.d | |
| apt-get update | |
| apt-get install -y devscripts equivs git | |
| - name: Build and install dtkcommon from source | |
| run: | | |
| set -euxo pipefail | |
| cd /tmp | |
| git clone --depth=1 https://github.com/linuxdeepin/dtkcommon.git | |
| cd dtkcommon | |
| mk-build-deps --install --remove --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control | |
| dpkg-buildpackage -uc -us -b | |
| dpkg -i ../*.deb 2>/dev/null || apt-get install -f -y | |
| echo "✅ dtkcommon installed" | |
| - name: Build and install dtklog from source | |
| run: | | |
| set -euxo pipefail | |
| cd /tmp | |
| git clone --depth=1 https://github.com/linuxdeepin/dtklog.git | |
| cd dtklog | |
| mk-build-deps --install --remove --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control | |
| dpkg-buildpackage -uc -us -b -P${{ matrix.dtk_profile }} | |
| dpkg -i ../*.deb 2>/dev/null || apt-get install -f -y | |
| echo "✅ dtklog installed" | |
| - name: Install dtkcore build dependencies | |
| run: | | |
| set -euxo pipefail | |
| mk-build-deps --install --remove --tool='apt-get -o Debug::pkgProblemResolver=yes --no-install-recommends --yes' debian/control | |
| - name: Build dtkcore deb packages | |
| run: | | |
| set -euxo pipefail | |
| dpkg-buildpackage -uc -us -b -P${{ matrix.dtk_profile }} | |
| echo "✅ dtkcore Qt${{ matrix.qt_version }} deb packages built successfully!" | |
| ls -la ../ | |
| - name: Collect deb artifacts | |
| run: | | |
| mkdir -p dist | |
| mv ../*.deb dist/ | |
| ls -la dist | |
| - name: Upload dtkcore deb packages as artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: dtkcore-deepin-deb-packages-qt${{ matrix.qt_version }} | |
| path: dist/*.deb | |
| if-no-files-found: error | |
| retention-days: 30 |