From 4ab5e5b1923ff0239d2f9fd51dde8ffef9080cb8 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Wed, 3 Jul 2024 23:08:09 +0200 Subject: [PATCH] [ci] Add boinccas.dll to the uploaded artifacts Signed-off-by: Vitalii Koshura --- .github/workflows/windows.yml | 8 ++++++++ deploy/prepare_deployment.py | 9 +++++++++ 2 files changed, 17 insertions(+) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 86f3e06110..2995d2566c 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -120,6 +120,7 @@ jobs: python deploy\prepare_deployment.py win_apps python deploy\prepare_deployment.py win_client python deploy\prepare_deployment.py win_manager + python deploy\prepare_deployment.py win_installer - name: Upload apps if: success() && matrix.type == 'msbuild' @@ -142,6 +143,13 @@ jobs: name: win_manager_${{matrix.platform}}_${{github.event.pull_request.head.sha}} path: deploy/win_manager.7z + - name: Upload installer files + if: success() && matrix.type == 'msbuild' + uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 + with: + name: win_installer_${{matrix.platform}}_${{github.event.pull_request.head.sha}} + path: deploy/win_installer.7z + - name: Upload symbol files if: success() && matrix.type == 'msbuild' uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 diff --git a/deploy/prepare_deployment.py b/deploy/prepare_deployment.py index 80ab8d44aa..68085f85f0 100644 --- a/deploy/prepare_deployment.py +++ b/deploy/prepare_deployment.py @@ -208,6 +208,11 @@ windows_manager_list = [ 'locale/*/*.mo', ] +windows_installer_list = [ + './win_build/Build/x64/Release/boinccas.dll', + './win_build/Build/ARM64/Release/boinccas.dll', +] + wasm_client_list = [ './client/boinc_client.wasm', './client/boinc_client.js', @@ -364,6 +369,9 @@ def prepare_win_client(target_directory): def prepare_win_manager(target_directory): prepare_7z_archive('win_manager', target_directory, windows_manager_list) +def prepare_win_installer(target_directory): + prepare_7z_archive('win_installer', target_directory, windows_installer_list) + def prepare_wasm_client(target_directory): prepare_7z_archive('wasm_client', target_directory, wasm_client_list) @@ -404,6 +412,7 @@ boinc_types = { 'win_apps': prepare_win_apps, 'win_client': prepare_win_client, 'win_manager': prepare_win_manager, + 'win_installer': prepare_win_installer, 'wasm_client': prepare_wasm_client, 'wasm_client-debug': prepare_wasm_client_debug, 'linux_snap': prepare_linux_snap,