Skip to content

Commit 412f0a6

Browse files
committed
ci: delete shell from steps
1 parent aec5bb9 commit 412f0a6

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

.github/workflows/self-hosted.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ jobs:
2828
submodules: recursive
2929

3030
- name: Set environment variables
31-
shell: bash
3231
run: |
3332
echo "CUDA_PATH=/usr/local/cuda-12.8" >> $GITHUB_ENV
3433
echo "${CUDA_PATH}/bin" >> $GITHUB_PATH
@@ -39,12 +38,10 @@ jobs:
3938
echo "CUDACXX=/usr/local/cuda-${{ matrix.cuda }}/bin/nvcc" >> $GITHUB_ENV
4039
4140
- name: Configure CMake build
42-
shell: bash
4341
run: cmake . -B ${{ env.build_dir }} -DCMAKE_BUILD_TYPE=${{ env.config }} -DCUBOOL_BUILD_TESTS=ON
4442

4543
- name: Build library sources
4644
working-directory: ${{ env.build_dir }}
47-
shell: bash
4845
run: cmake --build . --target all --verbose -j `nproc`
4946

5047
test:
@@ -64,7 +61,6 @@ jobs:
6461
steps:
6562
- name: Run unit-tests
6663
working-directory: ${{ env.build_dir }}
67-
shell: bash
6864
run: |
6965
source scripts/run_tests_all.sh | tee ${{ env.unit-test-file }}
7066
@@ -76,15 +72,13 @@ jobs:
7672

7773
- name: Check for unit tests results
7874
working-directory: ${{ env.build_dir }}
79-
shell: bash
8075
run: |
8176
if grep -q "FAILED" ${{ env.unit-test-file }}; then
8277
exit 1
8378
fi
8479
8580
- name: Run regression-tests
8681
working-directory: ${{ env.build_dir }}/python
87-
shell: bash
8882
run: |
8983
source run_tests.sh 2>&1 | tee ${{ env.regression-test-file }}
9084
@@ -96,7 +90,6 @@ jobs:
9690

9791
- name: Check for regression tests results
9892
working-directory: ${{ env.build_dir }}/python
99-
shell: bash
10093
run: |
10194
if grep -q "FAILED" ${{ env.regression-test-file }}; then
10295
exit 1
@@ -110,7 +103,6 @@ jobs:
110103

111104
steps:
112105
- name: Cleanup workspace
113-
shell: bash
114106
run: |
115107
rm -rf ${{ github.workspace }}/*
116108
rm -rf ${{ github.workspace }}/.*

.github/workflows/ubuntu.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,13 @@ jobs:
3333
submodules: true
3434

3535
- name: Configure CMake build
36-
shell: bash
3736
run: cmake . -B ${{ env.build_dir }} -DCMAKE_BUILD_TYPE=${{ env.config }} -DCUBOOL_BUILD_TESTS=ON -DCUBOOL_WITH_CUDA=OFF
3837

3938
- name: Build library sources
4039
working-directory: ${{ env.build_dir }}
41-
shell: bash
4240
run: cmake --build . --target all --verbose -j `nproc`
4341

4442
- name: Prepare upload binary
45-
shell: bash
4643
run: tar cfz ${{ env.artifact }} ${{ env.build_dir }}
4744

4845
- name: Upload binary
@@ -68,7 +65,6 @@ jobs:
6865
steps:
6966
- name: Run unit-tests
7067
working-directory: ${{ env.build_dir }}
71-
shell: bash
7268
run: |
7369
source scripts/run_tests_all.sh | tee ${{ env.unit-test-file }}
7470
@@ -80,15 +76,13 @@ jobs:
8076

8177
- name: Check for unit tests results
8278
working-directory: ${{ env.build_dir }}
83-
shell: bash
8479
run: |
8580
if grep -q "FAILED" ${{ env.unit-test-file }}; then
8681
exit 1
8782
fi
8883
8984
- name: Run regression-tests
9085
working-directory: ${{ env.build_dir }}/python
91-
shell: bash
9286
run: |
9387
source run_tests.sh 2>&1 | tee ${{ env.regression-test-file }}
9488
@@ -100,7 +94,6 @@ jobs:
10094

10195
- name: Check for regression tests results
10296
working-directory: ${{ env.build_dir }}/python
103-
shell: bash
10497
run: |
10598
if grep -q "FAILED" ${{ env.regression-test-file }}; then
10699
exit 1

0 commit comments

Comments
 (0)