Skip to content

Commit

Permalink
ci: 自动构建流程
Browse files Browse the repository at this point in the history
  • Loading branch information
mhduiy committed Jun 29, 2024
1 parent 400f22d commit 880b8b2
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/compile-project.yml
Original file line number Diff line number Diff line change
@@ -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}}
5 changes: 4 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 880b8b2

Please sign in to comment.