Skip to content

Commit

Permalink
Add RelWithDebInfo to Ubuntu CI build.
Browse files Browse the repository at this point in the history
It helps catch issues like #653.
  • Loading branch information
PengZheng committed Sep 25, 2023
1 parent f371369 commit 5fc94f5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
compiler: [ [gcc,g++], [clang,clang++] ]
type: [ Debug ]
type: [ Debug, RelWithDebInfo ]
timeout-minutes: 120
steps:
- name: Checkout source code
Expand Down Expand Up @@ -100,6 +100,10 @@ jobs:
linux-build-apt:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
type: [ Debug, RelWithDebInfo ]
timeout-minutes: 120
steps:
- name: Checkout source code
Expand Down Expand Up @@ -133,7 +137,7 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ env.CCACHE_DIR }}
key: ${{ runner.os }}-apt-test-ccache-gcc-Debug-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
key: ${{ runner.os }}-apt-test-ccache-gcc-${{ matrix.type }}-${{ steps.ccache_cache_timestamp.outputs.timestamp }}
restore-keys: |
${{ runner.os }}-apt-test-ccache-gcc-Debug-
- name: Build
Expand All @@ -148,7 +152,7 @@ jobs:
-DRSA_REMOTE_SERVICE_ADMIN_SHM_V2=ON
-DSHELL_BONJOUR=ON
-DENABLE_TESTING_ON_CI=ON
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_BUILD_TYPE=${{ matrix.type }}
-DENABLE_CCACHE=ON
run: |
mkdir build install
Expand Down

0 comments on commit 5fc94f5

Please sign in to comment.