From 880b8b2f063c294ee925bbd5488b2bfd70bd6fa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=89=BE=E6=B4=8B?= <73688594+mhduiy@users.noreply.github.com> Date: Sat, 29 Jun 2024 21:48:13 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E8=87=AA=E5=8A=A8=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/compile-project.yml | 29 +++++++++++++++++++++++++++ debian/control | 5 ++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/compile-project.yml diff --git a/.github/workflows/compile-project.yml b/.github/workflows/compile-project.yml new file mode 100644 index 0000000..79fde60 --- /dev/null +++ b/.github/workflows/compile-project.yml @@ -0,0 +1,29 @@ +name: Compile project + +on: + push: + branches: [ "linux" ] + pull_request: + branches: [ "linux" ] + +env: + BUILD_TYPE: Release + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Install dependences + run: | + sudo apt-get update + sudo apt-get build-dep . -y + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} + + - name: Build + # Build your program with the given configuration + run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} diff --git a/debian/control b/debian/control index 3834a0b..a945dd0 100644 --- a/debian/control +++ b/debian/control @@ -10,10 +10,13 @@ Build-Depends: qt6-declarative-dev, qt6-base-dev-tools, qt6-tools-dev, + qtquickcontrols2-5-dev, qml6-module-qtquick-layouts, qml6-module-qtquick-window, qml6-module-qt-labs-platform, - qml6-module-qtquick-controls2-styles-chameleon + qt6-declarative-private-dev, + qt6-base-private-dev + Standards-Version: 0.0.1