Skip to content

Commit

Permalink
move test into github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
boulderdaze committed Sep 13, 2024
1 parent b3f5099 commit 52cb2dd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 101 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ jobs:
os: [ubuntu-latest]
dockerfile:
- Dockerfile
- Dockerfile.micm-only
- Dockerfile.tuvx-only
- Dockerfile.memcheck
- Dockerfile.fortran-gcc
- Dockerfile.openmp
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
- { cpp: g++-14, c: gcc-14, fc: gfortran-14}
- { cpp: clang++, c: clang, fc: gfortran-12}
options:
- {micm: ON, tuvx: OFF}
- {micm: OFF, tuvx: ON}
- {python: ON, tuvx: OFF}
- {python: OFF, tuvx: ON}
build_type: [Release]
Expand All @@ -41,7 +43,12 @@ jobs:
sudo apt-get install -y python3-numpy
- name: Run Cmake
run: cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }} -D MUSICA_GIT_TAG=${{ github.sha }} -D MUSICA_ENABLE_PYTHON_LIBRARY=${{ matrix.options.python }} -D MUSICA_ENABLE_TUVX=${{ matrix.matrix.options.tuvx }}
run: >
cmake -S . -B build -D CMAKE_BUILD_TYPE=${{ matrix.build_type }}
-D MUSICA_GIT_TAG=${{ github.sha }}
-D MUSICA_ENABLE_MICM=${{ matrix.options.micm }}
-D MUSICA_ENABLE_TUVX=${{ matrix.options.tuvx }}
-D MUSICA_ENABLE_PYTHON_LIBRARY=${{ matrix.options.python }}
- name: Build
run: cmake --build build --verbose
Expand Down
49 changes: 0 additions & 49 deletions docker/Dockerfile.micm-only

This file was deleted.

49 changes: 0 additions & 49 deletions docker/Dockerfile.tuvx-only

This file was deleted.

0 comments on commit 52cb2dd

Please sign in to comment.