Skip to content

Commit

Permalink
add zip package for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bruno-at-orange committed May 14, 2024
1 parent 6763a9e commit 6d444f7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pack-nsis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ jobs:
with:
preset-name: windows-msvc-release
targets: MODL MODL_Coclustering norm_jar khiops_jar KhiopsNativeInterface
KNITransfer
override-flags: -DTESTING=OFF -DBUILD_JARS=ON
- name: Build NSIS package
shell: pwsh
Expand Down Expand Up @@ -95,7 +96,9 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: KNI
path: ./build/windows-msvc-release/packages/KNI-${{ env.KHIOPS_VERSION }}.zip
path: |
./build/windows-msvc-release/packages/KNI-${{ env.KHIOPS_VERSION }}.zip
./build/windows-msvc-release/packages/kni-transfer-${{ env.KHIOPS_VERSION }}.zip
test-khiops:
needs: build
runs-on: windows-2019
Expand Down Expand Up @@ -172,7 +175,7 @@ jobs:
uses: ncipollo/[email protected]
with:
allowUpdates: true
artifacts: khiops-*-setup.exe,KNI-*.zip
artifacts: khiops-*-setup.exe,KNI-*.zip,kni-transfer-*
body: '**For testing purposes only**'
draft: false
makeLatest: false
Expand Down
2 changes: 1 addition & 1 deletion packaging/packaging.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ set(CPACK_ARCHIVE_COMPONENT_INSTALL ON)

# user friendly archive names
set(CPACK_ARCHIVE_KNI_FILE_NAME kni-${KHIOPS_VERSION})
set(CPACK_ARCHIVE_KNI_TRANSFER_FILE_NAME kni-transfer${KHIOPS_VERSION})
set(CPACK_ARCHIVE_KNI_TRANSFER_FILE_NAME kni-transfer-${KHIOPS_VERSION})
set(CPACK_ARCHIVE_KHIOPS_FILE_NAME khiops-${KHIOPS_VERSION})
set(CPACK_ARCHIVE_KHIOPS_CORE_FILE_NAME khiops-core-${KHIOPS_VERSION})

Expand Down

0 comments on commit 6d444f7

Please sign in to comment.