Skip to content

Commit

Permalink
ci(win): msi
Browse files Browse the repository at this point in the history
  • Loading branch information
hyoklee committed Sep 24, 2024
1 parent 4441228 commit b4c7297
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/fbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: fbsd

on:
push:
branches: main
branches: main-

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lin20-d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: lin20 d
on:
push:
branches:
- main
- main-
jobs:
build:
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lin20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: lin20
on:
push:
branches:
- main
- main-
jobs:
build:
runs-on: ubuntu-20.04
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mac12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: mac-12

on:
push:
branches: main
branches: main-

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nbsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/obsd-7.4-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: obsd-7.4 auto

on:
push:
branches: main
branches: main-

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/obsd-auto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: obsd auto

on:
push:
branches: main
branches: main-

jobs:
test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/win-d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: win d
on:
push:
branches:
- main
- main-
jobs:
build:
runs-on: windows-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/win-icx-f-p.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
24 changes: 24 additions & 0 deletions .github/workflows/win-msi.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/win19-d.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: win19 d
on:
push:
branches:
- main
- main-

jobs:
build:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/wsl-suse-15.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b4c7297

Please sign in to comment.