-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] : add the leak detector in a particular github/actions workflow…
… file
- Loading branch information
Showing
3 changed files
with
84 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
name: Leak | ||
|
||
on: | ||
push: | ||
branches: | ||
- DemoApp | ||
paths-ignore: | ||
- 'cmake/**' | ||
- '.github/**' | ||
- 'doc/**' | ||
- 'samples/**' | ||
|
||
jobs: | ||
App_Linux_Dirent_FS: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: DemoApp | ||
- name: checkout submodules | ||
run : git submodule update --init --recursive | ||
- name: Install OpenGL lib / Requirement for Glfw3 | ||
run : sudo apt-get update && sudo apt-get install libgl1-mesa-dev libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev | ||
- name: configure | ||
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_TEST=ON -DUSE_LEAK_SANITIZER=ON | ||
- name: build | ||
run: cmake --build build --config Release | ||
- name: ctest | ||
run: ctest --test-dir build --output-on-failure | ||
- name: upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ImGuiFileDialog_App_Unix_Dirent_FS | ||
path: build/ImGuiFileDialog_App_Unix | ||
|
||
App_Linux_Std_FS: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: DemoApp | ||
- name: checkout submodules | ||
run : git submodule update --init --recursive | ||
- name: Install OpenGL lib / Requirement for Glfw3 | ||
run : sudo apt-get update && sudo apt-get install libgl1-mesa-dev libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev | ||
- name: configure | ||
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_TEST=ON -DUSE_STD_FILESYSTEM=ON -DUSE_LEAK_SANITIZER=ON | ||
- name: build | ||
run: cmake --build build --config Release | ||
- name: ctest | ||
run: ctest --test-dir build --output-on-failure | ||
- name: upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ImGuiFileDialog_App_Unix_Std_FS | ||
path: build/ImGuiFileDialog_App_Unix | ||
|
||
App_Linux_Boost_FS: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: DemoApp | ||
- name: checkout submodules | ||
run : git submodule update --init --recursive | ||
- name: Install OpenGL lib / Requirement for Glfw3 | ||
run : sudo apt-get update && sudo apt-get install libgl1-mesa-dev libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev | ||
- name: configure | ||
run: mkdir build && cd build && cmake .. -DCMAKE_BUILD_TYPE=Release -DUSE_TEST=ON -DUSE_BOOST_DEMO_FILESYSTEM=ON -DUSE_LEAK_SANITIZER=ON | ||
- name: build | ||
run: cmake --build build --config Release | ||
- name: ctest | ||
run: ctest --test-dir build --output-on-failure | ||
- name: upload artifact | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: ImGuiFileDialog_App_Unix_Boost_FS | ||
path: build/ImGuiFileDialog_App_Unix | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters