Add field ionization documentation #382
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: CI | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install deps | |
run: sudo apt-get update; sudo apt-get install gfortran openmpi-bin libopenmpi-dev | |
- name: Checkout vpic and kokkos | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
#repository: kokkos/kokkos | |
#ref: 3.1.00 | |
#path: kokkos | |
- name: Build kokkos | |
working-directory: kokkos | |
run: | | |
cmake -B build -DCMAKE_INSTALL_PREFIX=$HOME/kokkos -DCMAKE_CXX_STANDARD=17 | |
cmake --build build --parallel 2 | |
cmake --install build | |
#- uses: actions/checkout@v2 | |
- name: configure with external | |
run: cmake -B build -DCMAKE_PREFIX_PATH="$HOME/kokkos" -DENABLE_UNIT_TESTS=ON -DENABLE_INTEGRATED_TESTS=ON -DCMAKE_CXX_FLAGS="-rdynamic -fno-strict-aliasing" | |
- name: make external | |
run: cmake --build build | |
- name: make check | |
run: ctest --output-on-failure | |
working-directory: build | |
- name: configure with internal | |
run: cmake -B build_internal -DBUILD_INTERNAL_KOKKOS=ON -DENABLE_UNIT_TESTS=ON -DENABLE_INTEGRATED_TESTS=ON -DCMAKE_CXX_FLAGS="-rdynamic -fno-strict-aliasing" | |
- name: make internal | |
run: cmake --build build_internal |