Skip to content

Commit

Permalink
ci: add fortran for s390x
Browse files Browse the repository at this point in the history
close #171
  • Loading branch information
hyoklee committed Mar 19, 2024
1 parent 51c7235 commit 52d5b43
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 2 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/s390x-lin-f.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: s390x lin f

on: [push, pull_request]

jobs:
s390x_job:
name: s390x lin f
runs-on: ubuntu-latest

steps:
- name: Get Sources
uses: actions/checkout@v4.1.1

- name: Run
uses: uraimo/run-on-arch-action@v2
id: runcmd
with:
arch: s390x
distro: ubuntu_latest
githubToken: ${{ github.token }}
install: |
apt-get update -q -y
apt-get install -q -y git cmake libjpeg-dev zlib1g zlib1g-dev
apt-get install -q -y gfortran g++ yacc flex libtool autotools-dev
run: |
echo ::set-output name=uname::$(uname -a)
mkdir build
cd build
cmake \
-DBUILDNAME:STRING=f \
-DCTEST_DROP_SITE_INIT:STRING="my.cdash.org" \
-DHDF5_BUILD_FORTRAN:BOOL=ON \
-DSITE:STRING=s390x \
..
ctest -D Experimental
- name: Get the output
# Echo the `uname` output parameter from the `runcmd` step
run: |
echo "The uname output was ${{ steps.runcmd.outputs.uname }}"
2 changes: 1 addition & 1 deletion .github/workflows/s390x-lin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: s390x lin
name: s390x lin f

on: [push, pull_request]

Expand Down
2 changes: 1 addition & 1 deletion WATCHME.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| armv7 | [![armv7 lin](https://github.com/hyoklee/hdf5/actions/workflows/armv7-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/armv7-lin.yml) |
| riscv64 | [![riscv64 lin](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/riscv64-lin.yml) |
| powerpc64 | [![ppc64le lin](https://github.com/hyoklee/hdf5/actions/workflows/ppc64le-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/ppc64le-lin.yml) |
| s390x | [![s390x lin](https://github.com/hyoklee/hdf5/actions/workflows/s390x-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/s390x-lin.yml) |
| s390x | [![s390x lin](https://github.com/hyoklee/hdf5/actions/workflows/s390x-lin.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/s390x-lin.yml) [![s390x lin f](https://github.com/hyoklee/hdf5/actions/workflows/s390x-lin-f.yml/badge.svg)](https://github.com/hyoklee/hdf5/actions/workflows/s390x-lin-f.yml) |


## OS
Expand Down

0 comments on commit 52d5b43

Please sign in to comment.