mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-01 16:28:09 +08:00
publish msi binary (#4663)
This commit is contained in:
parent
1fafdc9da3
commit
c67feed60b
40
.github/workflows/cmake-ctest.yml
vendored
40
.github/workflows/cmake-ctest.yml
vendored
@ -99,6 +99,19 @@ jobs:
|
|||||||
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip hdf5
|
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip hdf5
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
|
- name: Publish msi binary (Windows)
|
||||||
|
id: publish-ctest-msi-binary
|
||||||
|
run: |
|
||||||
|
mkdir "${{ runner.workspace }}/build"
|
||||||
|
mkdir "${{ runner.workspace }}/build/hdf5"
|
||||||
|
Copy-Item -Path ${{ runner.workspace }}/hdf5/${{ steps.set-file-base.outputs.SOURCE_BASE }}/COPYING -Destination ${{ runner.workspace }}/build/hdf5/
|
||||||
|
Copy-Item -Path ${{ runner.workspace }}/hdf5/${{ steps.set-file-base.outputs.SOURCE_BASE }}/COPYING_LBNL_HDF5 -Destination ${{ runner.workspace }}/build/hdf5/
|
||||||
|
Copy-Item -Path ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-MSVC/README.md -Destination ${{ runner.workspace }}/build/hdf5/
|
||||||
|
Copy-Item -Path ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-MSVC/* -Destination ${{ runner.workspace }}/build/hdf5/ -Include *.msi
|
||||||
|
cd "${{ runner.workspace }}/build"
|
||||||
|
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi.zip hdf5
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
- name: List files in the space (Windows)
|
- name: List files in the space (Windows)
|
||||||
run: |
|
run: |
|
||||||
Get-ChildItem -Path ${{ github.workspace }}
|
Get-ChildItem -Path ${{ github.workspace }}
|
||||||
@ -113,6 +126,13 @@ jobs:
|
|||||||
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
|
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
|
||||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||||
|
|
||||||
|
- name: Save published msi binary (Windows)
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: msi-vs2022_cl-binary
|
||||||
|
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi.zip
|
||||||
|
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||||
|
|
||||||
build_and_test_linux:
|
build_and_test_linux:
|
||||||
# Linux (Ubuntu) w/ gcc + CMake
|
# Linux (Ubuntu) w/ gcc + CMake
|
||||||
#
|
#
|
||||||
@ -470,6 +490,19 @@ jobs:
|
|||||||
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip hdf5
|
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip hdf5
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
|
|
||||||
|
- name: Publish msi binary (Windows_intel)
|
||||||
|
id: publish-ctest-msi-binary
|
||||||
|
run: |
|
||||||
|
mkdir "${{ runner.workspace }}/build"
|
||||||
|
mkdir "${{ runner.workspace }}/build/hdf5"
|
||||||
|
Copy-Item -Path ${{ runner.workspace }}/hdf5/${{ steps.set-file-base.outputs.SOURCE_BASE }}/COPYING -Destination ${{ runner.workspace }}/build/hdf5/
|
||||||
|
Copy-Item -Path ${{ runner.workspace }}/hdf5/${{ steps.set-file-base.outputs.SOURCE_BASE }}/COPYING_LBNL_HDF5 -Destination ${{ runner.workspace }}/build/hdf5/
|
||||||
|
Copy-Item -Path ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-Intel/README.md -Destination ${{ runner.workspace }}/build/hdf5/
|
||||||
|
Copy-Item -Path ${{ runner.workspace }}/hdf5/build/${{ inputs.preset_name }}-Intel/* -Destination ${{ runner.workspace }}/build/hdf5/ -Include *.msi
|
||||||
|
cd "${{ runner.workspace }}/build"
|
||||||
|
7z a -tzip ${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.msi.zip hdf5
|
||||||
|
shell: pwsh
|
||||||
|
|
||||||
- name: List files in the space (Windows_intel)
|
- name: List files in the space (Windows_intel)
|
||||||
run: |
|
run: |
|
||||||
Get-ChildItem -Path ${{ github.workspace }}
|
Get-ChildItem -Path ${{ github.workspace }}
|
||||||
@ -484,6 +517,13 @@ jobs:
|
|||||||
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
|
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
|
||||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||||
|
|
||||||
|
- name: Save published msi binary (Windows_intel)
|
||||||
|
uses: actions/upload-artifact@v4
|
||||||
|
with:
|
||||||
|
name: msi-vs2022_intel-binary
|
||||||
|
path: ${{ runner.workspace }}/build/${{ steps.set-file-base.outputs.FILE_BASE }}-win-vs2022_intel.msi.zip
|
||||||
|
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||||
|
|
||||||
build_and_test_linux_intel:
|
build_and_test_linux_intel:
|
||||||
# Linux (Ubuntu) w/ OneAPI + CMake
|
# Linux (Ubuntu) w/ OneAPI + CMake
|
||||||
#
|
#
|
||||||
|
18
.github/workflows/release-files.yml
vendored
18
.github/workflows/release-files.yml
vendored
@ -100,6 +100,12 @@ jobs:
|
|||||||
name: zip-vs2022_cl-binary
|
name: zip-vs2022_cl-binary
|
||||||
path: ${{ github.workspace }}
|
path: ${{ github.workspace }}
|
||||||
|
|
||||||
|
- name: Get published msi binary (Windows)
|
||||||
|
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
|
||||||
|
with:
|
||||||
|
name: msi-vs2022_cl-binary
|
||||||
|
path: ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Get published binary (MacOS)
|
- name: Get published binary (MacOS)
|
||||||
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
|
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
|
||||||
with:
|
with:
|
||||||
@ -136,6 +142,12 @@ jobs:
|
|||||||
name: zip-vs2022_intel-binary
|
name: zip-vs2022_intel-binary
|
||||||
path: ${{ github.workspace }}
|
path: ${{ github.workspace }}
|
||||||
|
|
||||||
|
- name: Get published msi binary (Windows_intel)
|
||||||
|
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
|
||||||
|
with:
|
||||||
|
name: msi-vs2022_intel-binary
|
||||||
|
path: ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Get published binary (Linux_intel)
|
- name: Get published binary (Linux_intel)
|
||||||
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
|
uses: actions/download-artifact@65a9edc5881444af0b9093a5e628f2fe47ea3b2e # v4.1.7
|
||||||
with:
|
with:
|
||||||
@ -173,8 +185,10 @@ jobs:
|
|||||||
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
|
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
|
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.msi.zip >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
sha256sum ${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports.tar.gz >> ${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
|
|
||||||
- name: Create sha256 sums for files for nonversioned files
|
- name: Create sha256 sums for files for nonversioned files
|
||||||
@ -216,8 +230,10 @@ jobs:
|
|||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
|
||||||
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi.zip
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
|
||||||
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.msi.zip
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||||
@ -242,8 +258,10 @@ jobs:
|
|||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
|
||||||
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi.zip
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
|
||||||
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.msi.zip
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}.html.abi.reports.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
${{ steps.get-file-base.outputs.FILE_BASE }}.sha256sums.txt
|
||||||
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
if-no-files-found: error # 'warn' or 'ignore' are also available, defaults to `warn`
|
||||||
|
2
.github/workflows/remove-files.yml
vendored
2
.github/workflows/remove-files.yml
vendored
@ -56,5 +56,7 @@ jobs:
|
|||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc.rpm.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_gcc_s3.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.zip
|
||||||
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_cl.msi.zip
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz
|
${{ steps.get-file-base.outputs.FILE_BASE }}-ubuntu-2204_intel.tar.gz
|
||||||
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.zip
|
||||||
|
${{ steps.get-file-base.outputs.FILE_BASE }}-win-vs2022_intel.msi.zip
|
||||||
|
Loading…
Reference in New Issue
Block a user