Merge pull request #123 from LecrisUT/ci/cmake #82
This file contains hidden or 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
name: Makefile CI | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
paths-ignore: | |
- '.github/workflows/cmake.yml' | |
- '.gitignore' | |
- 'README' | |
- '**README' | |
- 'LICENSE' | |
- 'CMAKE**' | |
- '**CMakeLists.txt' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build-all: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout ScaLAPACK | |
uses: actions/checkout@v2 | |
- name: Setup MPI | |
uses: mpi4py/setup-mpi@v1 | |
- name: Build ScaLAPACK | |
run: | | |
cp SLmake.inc.example SLmake.inc | |
make --silent -j lib | |
make --silent all | |
- name: Run examples | |
working-directory: ${{github.workspace}}/EXAMPLE | |
run: | | |
mpiexec -n 4 ./xsscaex | |
mpiexec -n 4 ./xdscaex | |
mpiexec -n 4 ./xcscaex | |
mpiexec -n 4 ./xzscaex |