summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2019-12-07 21:17:53 +0200
committerGitHub <noreply@github.com>2019-12-07 21:17:53 +0200
commit06cc98ab542bacd0d06c88d9ebcfb271ba6d17d9 (patch)
treef99e9a8af251e3d8adc9a88418ff6926d48bb0b4 /.github/workflows
parent1031c96d311f8e6aa6d768987ab7c88b69ea2566 (diff)
parent44ab23dff89fac913b4823a2089c602f6d3a7791 (diff)
downloadmeson-06cc98ab542bacd0d06c88d9ebcfb271ba6d17d9.tar.gz
Merge pull request #6228 from scivision/scalapack
deps: add Scalapack
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci_frameworks.yml61
-rw-r--r--.github/workflows/frameworks.yml39
2 files changed, 61 insertions, 39 deletions
diff --git a/.github/workflows/ci_frameworks.yml b/.github/workflows/ci_frameworks.yml
new file mode 100644
index 000000000..682f5b907
--- /dev/null
+++ b/.github/workflows/ci_frameworks.yml
@@ -0,0 +1,61 @@
+name: ci_frameworks
+
+on:
+ push:
+ paths:
+ - "mesonbuild/dependencies/**"
+ - "test cases/frameworks/**"
+ - ".github/workflows/ci_frameworks.yml"
+ pull_request:
+ paths:
+ - "mesonbuild/dependencies/**"
+ - "test cases/frameworks/**"
+ - ".github/workflows/ci_frameworks.yml"
+
+jobs:
+
+ scalapackMacOS:
+ runs-on: macos-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: actions/setup-python@v1
+ with:
+ python-version: '3.x'
+ - run: python -m pip install -e .
+ - run: brew install pkg-config ninja gcc openmpi lapack scalapack
+ - run: meson setup "test cases/frameworks/30 scalapack" build
+ - run: ninja -C build
+ - uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: Scalapack_Mac_build
+ path: build/meson-logs/meson-log.txt
+ - run: meson test -C build -v
+ - uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: Scalapack_Mac_test
+ path: build/meson-logs/testlog.txt
+
+ HDF5macos:
+ runs-on: macos-latest
+ steps:
+ - uses: actions/checkout@v1
+ - uses: actions/setup-python@v1
+ with:
+ python-version: '3.x'
+ - run: python -m pip install -e .
+ - run: brew install pkg-config ninja gcc hdf5
+ - run: meson setup "test cases/frameworks/25 hdf5" build
+ - run: ninja -C build
+ - uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: HDF5_Mac_build
+ path: build/meson-logs/meson-log.txt
+ - run: meson test -C build -v
+ - uses: actions/upload-artifact@v1
+ if: failure()
+ with:
+ name: HDF5_Mac_test
+ path: build/meson-logs/testlog.txt
diff --git a/.github/workflows/frameworks.yml b/.github/workflows/frameworks.yml
deleted file mode 100644
index da57514ce..000000000
--- a/.github/workflows/frameworks.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-# at first, we demo HDF5 framework. More can be added.
-name: ci_frameworks
-
-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:
-
- macosHDF5:
- runs-on: macos-latest
- steps:
- - uses: actions/checkout@v1
- - uses: actions/setup-python@v1
- with:
- python-version: '3.x'
- - run: python -m pip install -e .
- - run: brew install pkg-config ninja gcc hdf5
- - run: meson setup "test cases/frameworks/25 hdf5" build
- - run: ninja -C build
- - uses: actions/upload-artifact@v1
- if: failure()
- with:
- name: Mac_Log
- path: build/meson-logs/meson-log.txt
- - run: meson test -C build -v
- - uses: actions/upload-artifact@v1
- if: failure()
- with:
- name: Mac_Test
- path: build/meson-logs/testlog.txt