From b4c7297fe792618d9b874649d228af7e55c6148b Mon Sep 17 00:00:00 2001 From: "H. Joe Lee" Date: Mon, 23 Sep 2024 23:08:42 -0500 Subject: [PATCH] ci(win): msi --- .github/workflows/fbsd.yml | 2 +- .github/workflows/lin20-d.yml | 2 +- .github/workflows/lin20.yml | 2 +- .github/workflows/mac12.yml | 2 +- .github/workflows/nbsd.yml | 2 +- .github/workflows/obsd-7.4-auto.yml | 2 +- .github/workflows/obsd-auto.yml | 2 +- .github/workflows/win-d.yml | 2 +- .github/workflows/win-icx-f-p.yml | 2 +- .github/workflows/win-msi.yml | 24 ++++++++++++++++++++++++ .github/workflows/win19-d.yml | 2 +- .github/workflows/wsl-suse-15.2.yml | 4 +++- 12 files changed, 37 insertions(+), 11 deletions(-) create mode 100644 .github/workflows/win-msi.yml diff --git a/.github/workflows/fbsd.yml b/.github/workflows/fbsd.yml index 7d534d8..1f14811 100644 --- a/.github/workflows/fbsd.yml +++ b/.github/workflows/fbsd.yml @@ -2,7 +2,7 @@ name: fbsd on: push: - branches: main + branches: main- jobs: test: diff --git a/.github/workflows/lin20-d.yml b/.github/workflows/lin20-d.yml index e290148..2e7a02e 100644 --- a/.github/workflows/lin20-d.yml +++ b/.github/workflows/lin20-d.yml @@ -3,7 +3,7 @@ name: lin20 d on: push: branches: - - main + - main- jobs: build: runs-on: ubuntu-20.04 diff --git a/.github/workflows/lin20.yml b/.github/workflows/lin20.yml index 9eb42c0..92c7a2f 100644 --- a/.github/workflows/lin20.yml +++ b/.github/workflows/lin20.yml @@ -3,7 +3,7 @@ name: lin20 on: push: branches: - - main + - main- jobs: build: runs-on: ubuntu-20.04 diff --git a/.github/workflows/mac12.yml b/.github/workflows/mac12.yml index 58781b3..0ae4dc3 100644 --- a/.github/workflows/mac12.yml +++ b/.github/workflows/mac12.yml @@ -2,7 +2,7 @@ name: mac-12 on: push: - branches: main + branches: main- jobs: build: diff --git a/.github/workflows/nbsd.yml b/.github/workflows/nbsd.yml index fb38a06..864c19f 100644 --- a/.github/workflows/nbsd.yml +++ b/.github/workflows/nbsd.yml @@ -2,7 +2,7 @@ name: nbsd on: push: - branches: [ main ] + branches: main- jobs: test: # make sure the action works on a clean machine without building diff --git a/.github/workflows/obsd-7.4-auto.yml b/.github/workflows/obsd-7.4-auto.yml index c14423d..f92f8f9 100644 --- a/.github/workflows/obsd-7.4-auto.yml +++ b/.github/workflows/obsd-7.4-auto.yml @@ -2,7 +2,7 @@ name: obsd-7.4 auto on: push: - branches: main + branches: main- jobs: test: diff --git a/.github/workflows/obsd-auto.yml b/.github/workflows/obsd-auto.yml index 31e0697..71e1f03 100644 --- a/.github/workflows/obsd-auto.yml +++ b/.github/workflows/obsd-auto.yml @@ -2,7 +2,7 @@ name: obsd auto on: push: - branches: main + branches: main- jobs: test: diff --git a/.github/workflows/win-d.yml b/.github/workflows/win-d.yml index 695b599..1767eea 100644 --- a/.github/workflows/win-d.yml +++ b/.github/workflows/win-d.yml @@ -3,7 +3,7 @@ name: win d on: push: branches: - - main + - main- jobs: build: runs-on: windows-latest diff --git a/.github/workflows/win-icx-f-p.yml b/.github/workflows/win-icx-f-p.yml index d6ded9a..be8f06b 100644 --- a/.github/workflows/win-icx-f-p.yml +++ b/.github/workflows/win-icx-f-p.yml @@ -64,5 +64,5 @@ jobs: cd hdf5-1.14.5-2 mkdir build cd build - cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/icx.exe" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/icpx.exe" -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF5_BUILD_FORTRAN:BOOL=ON -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=OFF -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DHDF5_ENABLE_SUBFILING_VFD:BOOL=OFF -DMPIEXEC_EXECUTABLE:FILEPATH="C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\bin\mpiexec.exe" -DMPI_C_HEADER_DIR:PATH="C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include" -DCTEST_DROP_SITE_INIT=my.cdash.org -DCTEST_DROP_LOCATION_INIT="/submit.php?project=HDF5" -DSITE=win -DBUILDNAME="ninja/icx/f/p" .. + cmake -G Ninja -DCMAKE_C_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/icx.exe" -DCMAKE_CXX_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/latest/bin/icpx.exe" -DCMAKE_Fortran_COMPILER="C:/Program Files (x86)/Intel/oneAPI/compiler/2024.2/bin/ifx.exe" -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF5_BUILD_FORTRAN:BOOL=ON -DHDF5_ENABLE_PARALLEL:BOOL=ON -DHDF5_ENABLE_Z_LIB_SUPPORT:BOOL=OFF -DHDF5_ENABLE_SZIP_SUPPORT:BOOL=OFF -DHDF5_ENABLE_SUBFILING_VFD:BOOL=OFF -DMPIEXEC_EXECUTABLE:FILEPATH="C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\bin\mpiexec.exe" -DMPI_C_HEADER_DIR:PATH="C:\Program Files (x86)\Intel\oneAPI\mpi\2021.13\include" -DCTEST_DROP_SITE_INIT=my.cdash.org -DCTEST_DROP_LOCATION_INIT="/submit.php?project=HDF5" -DSITE=win -DBUILDNAME="5/ninja/icx/f/p" .. ctest -D Experimental diff --git a/.github/workflows/win-msi.yml b/.github/workflows/win-msi.yml new file mode 100644 index 0000000..54cf9d8 --- /dev/null +++ b/.github/workflows/win-msi.yml @@ -0,0 +1,24 @@ +name: win msi + +on: + push: + branches: main + +jobs: + test-msi: + runs-on: windows-latest + + steps: +# - uses: actions/setup-windows@v2 + - name: Install WiX Toolset + run: | + choco install wixtoolset -y + - name: get MSI + run: | + curl -s -O -L https://support.hdfgroup.org/releases/hdf5/v1_14/v1_14_5/downloads/snapshot-1.14.5-win-vs2022_intel.msi + - name: Install MSI + run: msiexec /i snapshot-1.14.5-win-vs2022_intel.msi /qb + - name: Uninstall MSI + run: msiexec /x snapshot-1.14.5-win-vs2022_intel.msi /qb + - name: Validate MSI + run: msival2 snapshot-1.14.5-win-vs2022_intel.msi diff --git a/.github/workflows/win19-d.yml b/.github/workflows/win19-d.yml index 041cb03..44453fa 100644 --- a/.github/workflows/win19-d.yml +++ b/.github/workflows/win19-d.yml @@ -3,7 +3,7 @@ name: win19 d on: push: branches: - - main + - main- jobs: build: diff --git a/.github/workflows/wsl-suse-15.2.yml b/.github/workflows/wsl-suse-15.2.yml index 5b58eda..9c39f46 100644 --- a/.github/workflows/wsl-suse-15.2.yml +++ b/.github/workflows/wsl-suse-15.2.yml @@ -32,6 +32,8 @@ jobs: cd hdf5-1.14.5-2 mkdir build cd build - /mnt/d/a/actions/actions/bin/cmake -DSITE:STRING="sus-15.2/wsl" -DBUILDNAME:STRING="cmake-3.18" -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" -DCTEST_DROP_LOCATION_INIT:STRING="/submit.php?project=HDF5" .. + pwd + which cmake +# /mnt/d/a/actions/actions/bin/cmake -DSITE:STRING="sus-15.2/wsl" -DBUILDNAME:STRING="cmake-3.18" -DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" -DCTEST_DROP_LOCATION_INIT:STRING="/submit.php?project=HDF5" .. # /mnt/d/a/actions/actions/bin/ctest -T Build # /mnt/d/a/actions/actions/bin/ctest -T Test