From a8dc4ca67c6f700929f5e2a172d79df68464858e Mon Sep 17 00:00:00 2001 From: jackfiled Date: Thu, 7 Jul 2022 17:42:50 +0800 Subject: [PATCH] =?UTF-8?q?CI=E6=96=87=E4=BB=B6=E6=94=BE=E9=94=99=E5=9C=B0?= =?UTF-8?q?=E6=96=B9=E4=BA=86=EF=BC=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/windows.yml | 59 ----------------------------------- 1 file changed, 59 deletions(-) delete mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml deleted file mode 100644 index 8f54e6c..0000000 --- a/.github/workflows/windows.yml +++ /dev/null @@ -1,59 +0,0 @@ -name: windows-build - -on: - # 在设置git tag时触发执行 - push: - branches: - - 'gui' - tags: - - 'v*' - -env: - # 设置编译的类型 - BUILD_TYPE: Release - -jobs: - build: - name: "Build the application" - runs-on: windows-latest - - steps: - - uses: actions/checkout@v3 - - - name: Install Qt - # 安装Qt - uses: jurplel/install-qt-action@v2 - with: - version: '6.1.3' - host: 'windows' - target: 'desktop' - arch: 'win64_msvc2019_64' - - - name: Config Cmake - # 设置cmake - env: - CMAKE_PREFIX_PATH: ${{env.Qt6_Dir}} - run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} - - - name: Compile - # 编译程序 - run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} - - - name: Deploy Qt - # 寻找需要的dll - run: windeployqt ${{github.workspace}}/build/auto_bus_gui.exe - - - name: Upload Release - # 上传发布 - uses: "marvinpinto/action-automatic-releases@latest" - with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" - prerelease: false - files: | - ${{github.workspace}}/build/auto_bus_gui.exe - ${{github.workspace}}/build/*.dll - ${{github.workspace}}/build/iconengines/*.dll - ${{github.workspace}}/build/imageformats/*.dll - ${{github.workspace}}/build/platforms/*.dll - ${{github.workspace}}/build/styles/*.dll - ${{github.workspace}}/build/translations/*.qm \ No newline at end of file