Skip to content

Commit

Permalink
ci: try to install catch2 with micromamba
Browse files Browse the repository at this point in the history
  • Loading branch information
james-d-mitchell committed Oct 26, 2023
1 parent cfa7d03 commit d6cacc8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ jobs:
CXX: "ccache g++"
CXXFLAGS: "-fdiagnostics-color"
CMAKE_CXX_COMPILER: "ccache g++"
PKG_CONFIG_PATH: "/home/runner/micromamba-root/envs/HPCombi/lib/pkgconfig:/home/runner/micromamba-root/envs/HPCombi/share/pkgconfig/"
LD_LIBRARY_PATH: "/home/runner/micromamba-root/envs/HPCombi/lib"
steps:
- name: "Install conda environment from environment.yml . . ."
uses: mamba-org/setup-micromamba@v1
- name: "Checkout HPCombi repo . . ."
uses: actions/checkout@v3
- name: "Setup ccache . . ."
Expand Down
7 changes: 7 additions & 0 deletions environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: HPCombi

channels:
- conda-forge

dependencies:
- catch2
1 change: 1 addition & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ if(NOT Catch2_FOUND)

FetchContent_MakeAvailable(Catch2)
else()

message(STATUS "Using system Catch2")
endif()

Expand Down

0 comments on commit d6cacc8

Please sign in to comment.