Skip to content

Commit 7ea794f

Browse files
committed
do install from outside of singularity image
1 parent 9c4e41f commit 7ea794f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

action.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ runs:
4747
# shell: bash
4848
# run: VERBOSE=1 singularity exec $SI cmake --install ${{inputs.path}}/build --config ${{inputs.build_type}}
4949

50-
- name: configure, build and install libmpdata++
50+
- name: configure and build libmpdata++
5151
working-directory: ${{inputs.path}}
5252
shell: bash
53-
run: VERBOSE=1 singularity exec $SI bash -c "cmake -B ${{inputs.path}}/build -DCMAKE_BUILD_TYPE=${{inputs.build_type}} -DCMAKE_INSTALL_PREFIX=${{inputs.install_prefix}} -DCMAKE_CXX_COMPILER=${{inputs.cxx}};cmake --build ${{inputs.path}}/build --config ${{inputs.build_type}} -j${{inputs.threads}};sudo cmake --install ${{inputs.path}}/build --config ${{inputs.build_type}}"
53+
run: VERBOSE=1 singularity exec $SI bash -c "cmake -B ${{inputs.path}}/build -DCMAKE_BUILD_TYPE=${{inputs.build_type}} -DCMAKE_INSTALL_PREFIX=${{inputs.install_prefix}} -DCMAKE_CXX_COMPILER=${{inputs.cxx}};cmake --build ${{inputs.path}}/build --config ${{inputs.build_type}} -j${{inputs.threads}}"
54+
55+
- name: install libmpdata++
56+
working-directory: ${{inputs.path}}
57+
shell: bash
58+
run: sudo cmake --install ${{inputs.path}}/build --config ${{inputs.build_type}}

0 commit comments

Comments
 (0)