Create build-evpfft.yaml #8
Workflow file for this run
This file contains 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: Ubuntu Build EVPFFT | |
# Controls when the workflow will run | |
on: | |
# Triggers the workflow on push or pull request events but only for the master branch | |
pull_request: | |
types: [opened, reopened] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: update the package list | |
run: | |
sudo apt-get update | |
shell: bash | |
- name: Install build tools | |
run: | |
sudo apt-get install build-essential | |
shell: bash | |
- name: Install LaPack | |
run: | |
sudo apt-get install libblas-dev liblapack-dev | |
shell: bash | |
- name: Install MPI | |
run: | | |
sudo apt-get install libopenmpi-dev openmpi-bin | |
echo "MPI_OPTS=--oversubscribe" >> $GITHUB_ENV | |
- name: Install cmake | |
run: | |
sudo apt-get -y install cmake | |
shell: bash | |
- name: Install fftw-dev | |
run: | |
sudo apt-get -y install libfftw3-dev | |
shell: bash | |
- name: Install HDF5-dev | |
run: | |
sudo apt-get install libhdf5-dev libhdf5-openmpi-dev | |
shell: bash | |
- name: Run build script | |
run: | | |
chmod +x ./scripts/build-scripts/build_evpfft.sh | |
./scripts/build-scripts/build_evpfft.sh --heffte_build_type=fftw --kokkos_build_type=openmp --machine=linux --num_jobs=4 | |
working-directory: ./src/EVPFFT | |
shell: bash | |
# - name: Run tests | |
# run: | | |
# python3 test_fierro.py | |
# working-directory: ./integrated-tests/Test-scripts | |
# shell: bash |