8000 Add memory check tests by mattldawson · Pull Request #34 · open-atmos/camp · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add memory check tests #34

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

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,14 @@

# add back things to copy
!CMakeLists.txt
!cmake/
!data/
!doc/
!docker/
!include/
!src/
!test/
!tool/
!mechanisms/
!cvode*.tar.gz
!valgrind.supp
27 changes: 20 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,31 @@ name: CI

on: [push, pull_request]

jobs:
build:
concurrency:
group: ${{ github.workflow }}-${{ github.ref || github.run_id }}

jobs:
gcc-debug:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Build the testing docker image
- name: Build the testing docker image in debug mode
run: docker build -t camp-test . -f Dockerfile.debug
- name: Run the tests in the docker container
run: docker run -t camp-test bash -c 'cd /build; make test'
- name: Run the debug tests in the docker container
run: docker run -t camp-test bash -c 'cd /build; ctest --rerun-failed --output-on-failure . --verbose -j 8'
gcc-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the testing docker image in release mode
run: docker build -t camp-test . -f Dockerfile
- name: Run the release tests in the docker container
run: docker run -t camp-test bash -c 'cd /build; ctest --rerun-failed --output-on-failure . --verbose -j 8'
mpi-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the MPI testing docker image
run: docker build -t camp-test-mpi . -f Dockerfile.mpi
- name: Run the MPI tests in the docker container
run: docker run -t camp-test-mpi bash -c 'make test'
run: docker run -t camp-test-mpi bash -c 'ctest --rerun-failed --output-on-failure . --verbose -j 8'
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,6 @@ cmake-build-*/
# File-based project format
*.iws

# IntelliJ
out/

# mpeltonen/sbt-idea plugin
.idea_modules/

Expand Down
Loading
0