mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
Add missing C++ and Fortran to Intel oneAPI CI (#4761)
* Add Fortran and C++ to Autotools * Add Fortran and C++ to Linux CMake * Add C++ to Windows CMake * Fix bad GitHub workspace variable
This commit is contained in:
parent
e5eede6842
commit
10597ee37c
3
.github/workflows/intel-auto.yml
vendored
3
.github/workflows/intel-auto.yml
vendored
@ -46,7 +46,8 @@ jobs:
|
||||
$GITHUB_WORKSPACE/configure \
|
||||
--enable-build-mode=${{ inputs.build_mode }} \
|
||||
--enable-shared \
|
||||
--disable-fortran
|
||||
--enable-cxx \
|
||||
--enable-fortran
|
||||
|
||||
- name: Autotools Build
|
||||
shell: bash
|
||||
|
10
.github/workflows/intel-cmake.yml
vendored
10
.github/workflows/intel-cmake.yml
vendored
@ -43,13 +43,13 @@ jobs:
|
||||
run: |
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
cd "${{ runner.workspace }}/build"
|
||||
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake \
|
||||
-G Ninja \
|
||||
--log-level=VERBOSE \
|
||||
cmake -C $GITHUB_WORKSPACE/config/cmake/cacheinit.cmake -G Ninja --log-level=VERBOSE \
|
||||
-DCMAKE_BUILD_TYPE=${{ inputs.build_mode }} \
|
||||
-DHDF5_BUILD_FORTRAN:BOOL=ON \
|
||||
-DHDF5_BUILD_CPP_LIB:BOOL=ON \
|
||||
-DLIBAEC_USE_LOCALCONTENT=OFF \
|
||||
-DZLIB_USE_LOCALCONTENT=OFF \
|
||||
$GITHUB_WORKSPACE
|
||||
${{ github.workspace }}
|
||||
|
||||
- name: CMake Build (Linux)
|
||||
shell: bash
|
||||
@ -97,7 +97,7 @@ jobs:
|
||||
run: |
|
||||
mkdir "${{ runner.workspace }}/build"
|
||||
Set-Location -Path "${{ runner.workspace }}\\build"
|
||||
cmake -C ${{ github.workspace }}/config/cmake/cacheinit.cmake -G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.build_mode }} -DHDF5_BUILD_FORTRAN=ON -DLIBAEC_USE_LOCALCONTENT=OFF -DZLIB_USE_LOCALCONTENT=OFF ${{ github.workspace }}
|
||||
cmake -C ${{ github.workspace }}/config/cmake/cacheinit.cmake -G Ninja -DCMAKE_BUILD_TYPE=${{ inputs.build_mode }} -DHDF5_BUILD_FORTRAN=ON -DHDF5_BUILD_CPP_LIB=ON -DLIBAEC_USE_LOCALCONTENT=OFF -DZLIB_USE_LOCALCONTENT=OFF ${{ github.workspace }}
|
||||
|
||||
- name: CMake Build (Windows)
|
||||
shell: pwsh
|
||||
|
Loading…
Reference in New Issue
Block a user