Skip to content

Commit d933bd7

Browse files
authored
Merge pull request #166 from barbagroup/develop
v0.5.4
2 parents ffdbe25 + 60e3403 commit d933bd7

File tree

139 files changed

+4242
-74969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+4242
-74969
lines changed

.autom4te.cfg

Lines changed: 0 additions & 3 deletions
This file was deleted.

.clang-format

Lines changed: 0 additions & 113 deletions
This file was deleted.

.github/workflows/build.yaml

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: Build and Test
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- master
7+
- develop
8+
9+
workflow_dispatch:
10+
11+
jobs:
12+
build-and-test:
13+
runs-on: ubuntu-latest
14+
container: barbagroup/petibm:gh-action-base
15+
steps:
16+
17+
- name: Activating conda environment
18+
run: |
19+
micromamba shell init --shell=bash --prefix=/root/micromamba
20+
source ~/.bashrc
21+
micromamba activate base
22+
micromamba info
23+
24+
- name: Checking out PetIBM source code
25+
uses: actions/checkout@v3
26+
27+
- name: Configuring PetIBM
28+
run: |
29+
source ~/.bashrc
30+
micromamba activate base
31+
mkdir -p $GITHUB_WORKSPACE/build && cd $GITHUB_WORKSPACE/build
32+
cmake \
33+
-DCMAKE_INSTALL_PREFIX=${PREFIX} \
34+
-DCMAKE_CXX_COMPILER=${CXX} \
35+
-DCMAKE_BUILD_TYPE=Debug \
36+
-DYAMLCPP_DIR=${PREFIX} \
37+
-DSYMENGINE_DIR=${PREFIX} \
38+
-DPETSC_DIR=${PREFIX} \
39+
-DPETSC_ARCH="" \
40+
-DPETIBM_ENABLE_TESTS=ON \
41+
-DPETIBM_USE_AMGX=OFF \
42+
$GITHUB_WORKSPACE
43+
44+
- name: Building PetIBM
45+
run: |
46+
source ~/.bashrc
47+
micromamba activate base
48+
cd $GITHUB_WORKSPACE/build
49+
make all -j $(nproc)
50+
51+
- name: Running tests
52+
run: |
53+
source ~/.bashrc
54+
micromamba activate base
55+
cd $GITHUB_WORKSPACE/build
56+
make check

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@ doc/doxygen_sqlite3.db
1616

1717
# Ignore VSCode configuration
1818
.vscode
19+
20+
# Ignore any cache
21+
**/.cache

.travis.yml

Lines changed: 0 additions & 48 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,30 @@
22

33
---
44

5+
## 0.5.4
6+
7+
---
8+
9+
### Added
10+
11+
* CMake for compiling/building/installing.
12+
* Conda packages at the channel `barbagroups`.
13+
* A GitHub Action workflow
14+
15+
### Changed
16+
17+
* Removed the support of GNU Automake.
18+
* Removed Travis CI.
19+
* Modified documentation for CMake-base and Anaconda-based installation procedures.
20+
21+
### Fixed
22+
23+
* Wrong number of iterations for getting AmgX residual when using newer AmgX version
24+
25+
### Removed
26+
27+
---
28+
529
## 0.5.3
630

731
---

0 commit comments

Comments
 (0)