Skip to content

Commit ff705f5

Browse files
committed
Enable UMF pool tracking in github workflows
1 parent f09ed03 commit ff705f5

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

.github/workflows/cmake.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
build_type: [Debug, Release]
1212
compiler: [{c: gcc, cxx: g++}]
1313
libbacktrace: ['-DVAL_USE_LIBBACKTRACE_BACKTRACE=OFF']
14+
pool_tracking: ['-DUMF_ENABLE_POOL_TRACKING=ON', '-DUMF_ENABLE_POOL_TRACKING=OFF']
1415
include:
1516
- os: 'ubuntu-22.04'
1617
build_type: Release
@@ -53,9 +54,9 @@ jobs:
5354
cd libbacktrace
5455
./configure
5556
make
56-
sudo make install
57+
sudo make install
5758
cd ..
58-
59+
5960
- name: Download DPC++
6061
run: |
6162
sudo apt install libncurses5
@@ -75,6 +76,7 @@ jobs:
7576
-DUR_FORMAT_CPP_STYLE=ON
7677
-DUR_DPCXX=${{github.workspace}}/dpcpp_compiler/bin/clang++
7778
${{matrix.libbacktrace}}
79+
${{matrix.pool_tracking}}
7880
7981
- name: Generate source from spec, check for uncommitted diff
8082
if: matrix.os == 'ubuntu-22.04'
@@ -153,5 +155,6 @@ jobs:
153155
-DCMAKE_BUILD_TYPE=Release
154156
-DUR_BUILD_TESTS=ON
155157
-DUR_FORMAT_CPP_STYLE=ON
158+
-DUMF_ENABLE_POOL_TRACKING=ON
156159
- name: Build
157160
run: cmake --build ${{github.workspace}}/build -j $(nproc)

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
run: pip install -r third_party/requirements.txt
2828

2929
- name: Configure CMake
30-
run: cmake -B ${{github.workspace}}/build -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUR_ENABLE_TRACING=ON -DUR_BUILD_TOOLS=ON
30+
run: cmake -B ${{github.workspace}}/build -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUR_ENABLE_TRACING=ON -DUR_BUILD_TOOLS=ON -DUMF_ENABLE_POOL_TRACKING=ON
3131

3232
- name: Build
3333
run: cmake --build ${{github.workspace}}/build -j $(nproc)
@@ -61,7 +61,7 @@ jobs:
6161
run: python3 -m pip install -r third_party/requirements.txt
6262

6363
- name: Configure CMake
64-
run: cmake -B ${{github.workspace}}/build -DCMAKE_POLICY_DEFAULT_CMP0094=NEW -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUR_ENABLE_TRACING=ON -DUR_BUILD_TOOLS=ON
64+
run: cmake -B ${{github.workspace}}/build -DCMAKE_POLICY_DEFAULT_CMP0094=NEW -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUR_ENABLE_TRACING=ON -DUR_BUILD_TOOLS=ON -DUMF_ENABLE_POOL_TRACKING=ON
6565

6666
- name: Build
6767
run: cmake --build ${{github.workspace}}/build -j $(nproc) --config Release

.github/workflows/coverity.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
linux:
2727
name: Coverity
2828
runs-on: ubuntu-latest
29-
29+
3030
steps:
3131
- name: Clone the git repo
3232
uses: actions/checkout@v3
@@ -35,12 +35,12 @@ jobs:
3535
run: |
3636
sudo apt-get update
3737
sudo apt-get install -y doxygen
38-
38+
3939
- name: Install pip packages
4040
run: pip install -r third_party/requirements.txt
4141

4242
- name: Configure CMake
43-
run: cmake -B $WORKDIR/build -DUR_ENABLE_TRACING=ON -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUR_FORMAT_CPP_STYLE=ON
43+
run: cmake -B $WORKDIR/build -DUR_ENABLE_TRACING=ON -DUR_DEVELOPER_MODE=ON -DUR_BUILD_TESTS=ON -DUR_FORMAT_CPP_STYLE=ON -DUMF_ENABLE_POOL_TRACKING=ON
4444

4545
- name: Generate source from spec, check for uncommitted diff
4646
run: |

0 commit comments

Comments
 (0)