Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1 cmake #3

Merged
merged 20 commits into from
Nov 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
76387ed
Fixed unallocated string in test_module (bad init)
apthorpe Oct 18, 2020
152c275
Added CMake support (MPI not tested)
apthorpe Oct 18, 2020
20d5395
Minor cleanup
apthorpe Oct 18, 2020
fcebd90
Added zofu acceptance test helper function
apthorpe Oct 18, 2020
d376fbc
Renamed ZofuHelper.cmake; cleaned CMakeLists.txt
apthorpe Oct 18, 2020
45b0c35
Removed coverage option probing
apthorpe Oct 18, 2020
8868052
Added documentation generation and packaging
apthorpe Oct 18, 2020
52d159c
Add MPI Fortran module directories to MPI targets
apthorpe Oct 18, 2020
43c1739
More minimization and cleanup
apthorpe Oct 18, 2020
9a3601c
Added .mod path workaround, documented failed attempts
apthorpe Oct 19, 2020
6eaaf99
Added examples and documentation
apthorpe Oct 19, 2020
40d5ade
Robust fix to Fortran module file path issue
apthorpe Oct 25, 2020
a130049
Reinstate comment in meson.build about provisional module installation
acroucher Oct 26, 2020
05fc9c2
Get correct build dir name when installing modules
acroucher Oct 26, 2020
971a93a
Added explicit component install locations
apthorpe Oct 28, 2020
d816d99
Merge branch '1-cmake' of https://github.com/apthorpe/zofu into 1-cmake
apthorpe Oct 28, 2020
391783f
Add Github action for CMake unit tests
acroucher Oct 28, 2020
889f843
Fix typo
acroucher Oct 28, 2020
8855bc8
Add readme instructions for building, testing and installing with CMake
acroucher Oct 28, 2020
c584ada
Added fine control of installation paths; updated docs
apthorpe Oct 30, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/unittests_cmake.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Unit tests (CMake)

on:
push:
branches:
- '*'

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install compiler
run: sudo apt-get install gfortran
- name: Install build tools
run: |
sudo apt-get install cmake
- name: Show versions
run: |
gfortran --version
cmake --version
- name: Unit tests
run: |
mkdir build
cd build
cmake ..
make
make test
Loading