From 0c9dab81c919e84f4e1facb57356a110b31874c0 Mon Sep 17 00:00:00 2001 From: "H. Joe Lee" Date: Fri, 4 Oct 2024 07:42:02 -0500 Subject: [PATCH] ci(cygwin,f): test --- .github/workflows/cyg-ninja-f.yml | 34 +++++++++++++++++++++++++++++++ .github/workflows/cyg-ninja.yml | 2 +- .github/workflows/s390x-lin-f.yml | 4 ++-- 3 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/cyg-ninja-f.yml diff --git a/.github/workflows/cyg-ninja-f.yml b/.github/workflows/cyg-ninja-f.yml new file mode 100644 index 00000000000..0694d6c1522 --- /dev/null +++ b/.github/workflows/cyg-ninja-f.yml @@ -0,0 +1,34 @@ +name: cyg ninja f + +on: + push: + branches: + - develop + +jobs: + test: + name: cyg ninja + runs-on: windows-latest + steps: + - name: git + run: | + git config --global core.autocrlf input + - uses: actions/checkout@v4 + - name: set + uses: cygwin/cygwin-install-action@master + with: + packages: cmake gcc-fortran make ninja perl zlib-devel + - name: test + run: | + export PATH=/usr/bin:$PATH + mkdir build + cd build + cmake -G Ninja \ + -D SITE:STRING=cwin \ + -DBUILDNAME:STRING="ninja/f" \ + -D BUILD_SHARED_LIBS:BOOL=OFF \ + -DHDF5_BUILD_FORTRAN:BOOL=ON \ + -D CTEST_DROP_SITE_INIT:STRING="my.cdash.org" \ + .. + ctest -D Experimental + shell: C:\cygwin\bin\bash.exe -eo pipefail -o igncr '{0}' diff --git a/.github/workflows/cyg-ninja.yml b/.github/workflows/cyg-ninja.yml index 309bde83382..a23484e2a0a 100644 --- a/.github/workflows/cyg-ninja.yml +++ b/.github/workflows/cyg-ninja.yml @@ -3,7 +3,7 @@ name: cyg ninja on: push: branches: - - develop + - develop- jobs: test: diff --git a/.github/workflows/s390x-lin-f.yml b/.github/workflows/s390x-lin-f.yml index 484ba1034ba..3cd53bff18e 100644 --- a/.github/workflows/s390x-lin-f.yml +++ b/.github/workflows/s390x-lin-f.yml @@ -3,7 +3,7 @@ name: s390x lin f on: push: branches: - - develop- + - develop jobs: s390x_job: @@ -12,7 +12,7 @@ jobs: steps: - name: Get Sources - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - name: Run uses: uraimo/run-on-arch-action@v2