Skip to content

Commit

Permalink
CI: Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Nov 20, 2023
1 parent d551fd7 commit e919835
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/CI-mpitrampoline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ env:
BUILD_TYPE: Debug

jobs:
shellcheck:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: shellcheck
run: shellcheck --exclude SC2086 bin/*
build:
strategy:
matrix:
Expand All @@ -28,16 +22,17 @@ jobs:

- name: Configure
run: |
cd mpitrampoline
cmake \
-B ${{github.workspace}}/build \
-DCMAKE_INSTALL_PREFIX=$HOME/mpitrampoline
- name: Build
run: cmake --build ${{github.workspace}}/build --verbose
run: cd mpitrampoline && cmake --build ${{github.workspace}}/build --verbose

# - name: Test
# working-directory: ${{github.workspace}}/build
# run: ctest -C ${{env.BUILD_TYPE}}

- name: Install
run: cmake --install ${{github.workspace}}/build
run: cd mpitrampoline && cmake --install ${{github.workspace}}/build
11 changes: 3 additions & 8 deletions .github/workflows/CI-mpiwrapper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ env:
BUILD_TYPE: Debug

jobs:
shellcheck:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: shellcheck
run: shellcheck --exclude SC2086 bin/*
build:
strategy:
matrix:
Expand All @@ -38,17 +32,18 @@ jobs:
- name: Configure
run: |
cd mpiwrapper
cmake \
-B ${{github.workspace}}/build \
-DCMAKE_C_COMPILER=mpicc \
-DCMAKE_INSTALL_PREFIX=$HOME/mpiwrapper-${{matrix.mpi}}
- name: Build
run: cmake --build ${{github.workspace}}/build --verbose
run: cd mpiwrapper && cmake --build ${{github.workspace}}/build --verbose

# - name: Test
# working-directory: ${{github.workspace}}/build
# run: ctest -C ${{env.BUILD_TYPE}}

- name: Install
run: cmake --install ${{github.workspace}}/build
run: cd mpiwrapper && cmake --install ${{github.workspace}}/build

0 comments on commit e919835

Please sign in to comment.