From 953f64d9d97294b275612df16e89c0916d4d9d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Hrdli=C4=8Dka?= <dhrdlicka@users.noreply.github.com> Date: Sun, 31 Jan 2021 17:22:16 +0100 Subject: [PATCH] workflows: add CPack to the VS2019 build --- .github/workflows/cmake.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index b49ae07d1..da50bb912 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -96,8 +96,15 @@ jobs: cmake -S . -B build -G "Visual Studio 16 2019" -A ${{ matrix.target-arch }} -T ${{ matrix.toolset }} -D CMAKE_TOOLCHAIN_FILE=C:\vcpkg\scripts\buildsystems\vcpkg.cmake + -D CPACK_GENERATOR=ZIP -D DEV_BRANCH=${{ matrix.dev-build }} -D NEW_DYNAREC=${{ matrix.new-dynarec }} -D VNC=OFF - name: Build run: cmake --build build --config ${{ env.BUILD_TYPE }} + - name: Package + run: cmake --build build --config ${{ env.BUILD_TYPE }} --target package + - uses: actions/upload-artifact@v2 + with: + name: '86Box-VS2019-${{ matrix.toolset }}-${{ matrix.target-arch}}-${{ matrix.dev-build }}-${{ matrix.new-dynarec }}-${{ github.run_number }}' + path: build/*.zip