forked from HDFGroup/hdf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
57 additions
and
141 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: cyg ninja sh ompi | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
runs-on: windows-latest | ||
steps: | ||
- name: git | ||
run: git config --global core.autocrlf input | ||
- name: get | ||
uses: actions/checkout@v4 | ||
- name: set | ||
uses: cygwin/cygwin-install-action@master | ||
with: | ||
packages: cmake gcc-fortran libhwloc-devel libevent-devel make ninja openmpi libopenmpi-devel perl zlib-devel | ||
- name: test | ||
run: | | ||
export PATH=/usr/bin:$PATH | ||
mkdir build | ||
cd build | ||
cmake -G Ninja \ | ||
-DSITE:STRING=cwin \ | ||
-DBUILDNAME:STRING="ninja.-sh.ompi" \ | ||
-DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ | ||
-DCMAKE_SYSTEM_NAME="Linux" \ | ||
-DCMAKE_C_COMPILER=/usr/bin/mpicc \ | ||
-DCMAKE_CXX_COMPILER=/usr/bin/mpicxx \ | ||
-DBUILD_SHARED_LIBS:BOOL=OFF \ | ||
-DHDF5_ENABLE_PARALLEL:BOOL=ON \ | ||
.. | ||
ctest -D Experimental | ||
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}' |
27 changes: 10 additions & 17 deletions
27
.github/workflows/cyg.yml → .github/workflows/cyg-ninja.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,30 @@ | ||
name: cyg | ||
name: cyg ninja | ||
|
||
on: | ||
push: | ||
branches: [ develop ] | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
name: "cyg" | ||
name: cyg ninja | ||
runs-on: windows-latest | ||
steps: | ||
- name: Set git to use LF | ||
- name: git | ||
run: | | ||
git config --global core.autocrlf input | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Cygwin | ||
- name: set | ||
uses: cygwin/cygwin-install-action@master | ||
with: | ||
packages: cmake gcc-fortran make ninja perl zlib-devel | ||
- name: Test HDF5 | ||
- name: test | ||
run: | | ||
export PATH=/usr/bin:$PATH | ||
mkdir build | ||
cd build | ||
which cmake | ||
cmake -G Ninja \ | ||
-D SITE:STRING=cwin \ | ||
-DBUILDNAME:STRING="ninja.-sh.ompi" \ | ||
-D BUILD_SHARED_LIBS:BOOL=OFF \ | ||
-D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ | ||
-D SITE:STRING=cwin .. | ||
ctest -T Build | ||
ctest -T Test | ||
if [[ $? -ne 0 ]]; then | ||
ctest -T Submit | ||
fi | ||
.. | ||
ctest -D Experimental | ||
shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,13 +33,13 @@ jobs: | |
- { icon: '🟧', sys: clang64 } | ||
name: ${{ matrix.icon }} msys2-${{ matrix.sys }} | ||
steps: | ||
- name: Set | ||
- name: git | ||
run: git config --global core.autocrlf input | ||
|
||
- name: Get | ||
- name: get | ||
uses: actions/[email protected] | ||
|
||
- name: '${{ matrix.icon }} Setup MSYS2' | ||
- name: '${{ matrix.icon }} set' | ||
uses: msys2/setup-msys2@v2 | ||
with: | ||
msystem: ${{matrix.sys}} | ||
|
@@ -50,18 +50,18 @@ jobs: | |
pacboy: >- | ||
toolchain:p | ||
- name: Configure | ||
- name: configure | ||
shell: msys2 {0} | ||
run: | | ||
./autogen.sh | ||
./configure LDFLAGS="-lws2_32" | ||
- name: Build | ||
- name: build | ||
shell: msys2 {0} | ||
run: | | ||
make | ||
# - name: Test | ||
# - name: test | ||
# run: | | ||
# make check -j | ||
# working-directory: $GITHUB_WORKSPACE/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters