diff options
author | Michael Hirsch, Ph.D <scivision@users.noreply.github.com> | 2019-11-27 00:30:44 -0500 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-11-28 12:51:58 +0200 |
commit | 9db446123900aa3e585fbbce5ed5698369897c05 (patch) | |
tree | 0825ae8ffbf14011982fef168adcf612c70c74b9 | |
parent | c02593fddc70402d8a3f50b8ae476e1778d5cd3c (diff) | |
download | meson-9db446123900aa3e585fbbce5ed5698369897c05.zip meson-9db446123900aa3e585fbbce5ed5698369897c05.tar.gz meson-9db446123900aa3e585fbbce5ed5698369897c05.tar.bz2 |
ci: hdf5: Actions MacOS CI added
* MacOS Homebrew catches latest HDF5 release
* Linux catches older HDF5 release
* MSYS2 isn't yet ready on Actions for this test
-rw-r--r-- | .github/workflows/frameworks.yml | 65 |
1 files changed, 3 insertions, 62 deletions
diff --git a/.github/workflows/frameworks.yml b/.github/workflows/frameworks.yml index 4d764e2..da57514 100644 --- a/.github/workflows/frameworks.yml +++ b/.github/workflows/frameworks.yml @@ -5,42 +5,17 @@ on: push: paths: - "mesonbuild/dependencies/**" + - "test cases/frameworks/25 hdf5" - ".github/workflows/frameworks.yml" pull_request: paths: - "mesonbuild/dependencies/**" + - "test cases/frameworks/25 hdf5" - ".github/workflows/frameworks.yml" jobs: - linux: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - run: python -m pip install -e . - - run: sudo apt install -yq --no-install-recommends ninja-build g++ gfortran libhdf5-dev - - run: meson setup "test cases/frameworks/25 hdf5" build - env: - FC: gfortran - CXX: g++ - CC: gcc - - run: ninja -C build - - uses: actions/upload-artifact@v1 - if: failure() - with: - name: Linux_Log - path: build/meson-logs/meson-log.txt - - run: meson test -C build -v - - uses: actions/upload-artifact@v1 - if: failure() - with: - name: Linux_Test - path: build/meson-logs/testlog.txt - - mac: + macosHDF5: runs-on: macos-latest steps: - uses: actions/checkout@v1 @@ -62,37 +37,3 @@ jobs: with: name: Mac_Test path: build/meson-logs/testlog.txt - - windows: - # as usual, start in MSYS to install packages, then switch to MINGW64 to build. - if: false - # MSYS2 GitHub Action is still being developed--appears to have PATH bugs stopping this from working. - runs-on: windows-latest - steps: - - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 - with: - python-version: '3.x' - - uses: numworks/setup-msys2@v1 - with: - msystem: MSYS - - run: msys2do pacman -S mingw64/mingw-w64-x86_64-ninja mingw64/mingw-w64-x86_64-pkg-config mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-gcc-fortran mingw-w64-x86_64-hdf5 --noprogressbar --noconfirm - - run: set MSYSTEM=MINGW64 - - run: python -m pip install -e . - - run: meson setup "test cases/frameworks/25 hdf5" build - env: - FC: gfortran - CXX: g++ - CC: gcc - - run: ninja -C build - - uses: actions/upload-artifact@v1 - if: failure() - with: - name: MSYS_Log - path: build/meson-logs/meson-log.txt - - run: meson test -C build -v - - uses: actions/upload-artifact@v1 - if: failure() - with: - name: MSYS2_Test - path: build/meson-logs/testlog.txt
\ No newline at end of file |