Skip to content

Add GitHub CI

Add GitHub CI #1

Workflow file for this run

name: Build and Test
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
buildfpm:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install packages
run: |
set -ex
sudo apt-get update
sudo apt-get install -y gfortran libopenblas-dev liblapack-dev
- name: Build dftatom: manual

Check failure on line 21 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
run: |
set -ex
make -f Makefile.manual
./tests/atom_U/F_atom_U
git clean -dfx
- name: Build dftatom: cmake
run: |
set -ex
cmake \
-DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX="inst" \
-DWITH_PYTHON=NO \
-DWITH_LAPACK=NO \
-DCMAKE_INSTALL_RPATH:STRING="inst/lib" \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \
.
make
make install
./tests/atom_U/F_atom_U