-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265 from ludwig-cf/develop
Release 0.20.0
- Loading branch information
Showing
232 changed files
with
6,454 additions
and
8,280 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: Codecov | ||
on: [push, pull_request] | ||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build and run the unit tests | ||
run: | | ||
cp config/coverage-gcc.mk config.mk | ||
make serial | ||
make | ||
make unit | ||
cd src | ||
gcov -abcfu *.c | ||
- name: Upload results | ||
run: | | ||
curl -Os https://uploader.codecov.io/latest/linux/codecov | ||
chmod +x codecov | ||
./codecov -t ${CODECOV_TOKEN} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
# Regression tests (serial) | ||
|
||
name: "Regression" | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
- develop | ||
|
||
jobs: | ||
|
||
d2q9: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: | | ||
gcc --version | ||
cp config/github-gcc.mk config.mk | ||
sed -i "s/D3Q19/D2Q9/" config.mk | ||
make serial | ||
make -j 2 | ||
- name: Check | ||
run: | | ||
make unit | ||
make -C tests d2q9 | ||
d3q15: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: | | ||
gcc --version | ||
cp config/github-gcc.mk config.mk | ||
sed -i "s/D3Q19/D3Q15/" config.mk | ||
make serial | ||
make -j 2 | ||
- name: Check | ||
run: | | ||
make unit | ||
make -C tests d3q15 | ||
make-d3q19-short: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: | | ||
gcc --version | ||
cp config/github-gcc.mk config.mk | ||
make serial | ||
make -j 2 | ||
# Some care may be required with threads | ||
- name: Check | ||
run: | | ||
export OMP_NUM_THREADS=1 | ||
make test | ||
d3q27: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build | ||
run: | | ||
gcc --version | ||
cp config/github-gcc.mk config.mk | ||
sed -i "s/D3Q19/D3Q27/" config.mk | ||
make serial | ||
make -j 2 | ||
# No specific tests yet | ||
- name: Check | ||
run: | | ||
make unit |
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
############################################################################## | ||
# | ||
# coverage-gcc.mk | ||
# | ||
# One for coverage | ||
# | ||
############################################################################## | ||
|
||
BUILD = serial | ||
MODEL = -D_D3Q27_ | ||
|
||
GCOV = -ftest-coverage -fprofile-arcs | ||
|
||
CC = gcc | ||
CFLAGS = -fopenmp $(GCOV) -O2 -g -Wall | ||
|
||
AR = ar | ||
ARFLAGS = -cru | ||
LDFLAGS = -fopenmp $(GCOV) | ||
|
||
MPI_INC_PATH = ./mpi_s | ||
MPI_LIB_PATH = ./mpi_s | ||
MPI_LIB = -lmpi | ||
|
||
LAUNCH_SERIAL_CMD = | ||
LAUNCH_MPIRUN_CMD = |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
############################################################################## | ||
# | ||
# github-gcc.mk | ||
# | ||
############################################################################## | ||
|
||
BUILD = serial | ||
MODEL = -D_D3Q19_ | ||
|
||
CC = gcc -fopenmp | ||
CFLAGS = -g -Wall -O2 | ||
|
||
AR = ar | ||
ARFLAGS = -cru | ||
LDFLAGS = | ||
|
||
MPI_INC_PATH = ./mpi_s | ||
MPI_LIB_PATH = ./mpi_s | ||
MPI_LIB = -lmpi | ||
|
||
LAUNCH_SERIAL_CMD = | ||
LAUNCH_MPIRUN_CMD = |
Oops, something went wrong.