Skip to content

Commit d64ceeb

Browse files
authored
Update action.yml
1 parent 0a871fd commit d64ceeb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ runs:
1818
using: "composite"
1919
steps:
2020
- name: Install Nvidia driver
21+
shell: bash
2122
if: ${{!inputs.disable_cuda}}
2223
run: sudo apt install --no-install-recommends nvidia-driver-470
2324

@@ -41,6 +42,7 @@ runs:
4142
key: 'sng_ubuntu_20_04_cuda_11_4'
4243

4344
- name: Download UWLCM Singularity image
45+
shell: bash
4446
if: steps.cache_singularity.outputs.cache-hit != 'true'
4547
run: |
4648
mkdir '${{ github.workspace }}/singularity_images'
@@ -53,10 +55,12 @@ runs:
5355
SI: '${{ github.workspace }}/singularity_images/uwlcm_ubuntu_20_04_cuda_11_4.sif'
5456

5557
- name: Configure CMake
58+
shell: bash
5659
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
5760
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
5861
run: singularity exec $SI cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{inputs.build_type}} -DLIBCLOUDPHXX_FORCE_MULTI_CUDA=True -DLIBCLOUDPHXX_DISABLE_CUDA=${{inputs.disable_cuda}}
5962
#
6063
- name: Build libcloudph++
64+
shell: bash
6165
# Build your program with the given configuration
6266
run: VERBOSE=1 singularity exec $SI cmake --build ${{github.workspace}}/build --config ${{inputs.build_type}} -j${{inputs.threads}}

0 commit comments

Comments
 (0)