Create test_install_openmpi.yml
Test file in GitHub actions.
This commit is contained in:
parent
a47e5c891b
commit
58b34fd365
25
.github/workflows/test_install_openmpi.yml
vendored
Normal file
25
.github/workflows/test_install_openmpi.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
name: Install OpenMPI test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ master ]
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
jobs:
|
||||
install-openmpi:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: download-openmpi
|
||||
run: wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.2.tar.gz
|
||||
- name: extract-openmpi
|
||||
run: tar -xvf ./openmpi-4.0.2.tar.gz
|
||||
- name: configure-openmpi
|
||||
run: ./openmpi-4.0.2/configure --prefix="/home/${USER}/.openmpi"
|
||||
- name: install-openmpi
|
||||
run: |
|
||||
make -j
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue
Block a user