Skip to content

Commit aa73d58

Browse files
committed
Add cmake uninstall steps in CI workflow
1 parent ec910a8 commit aa73d58

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/CI-CD.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,21 @@ jobs:
132132
cmake --build build/cmake/static --config Release
133133
cmake --install build/cmake/static --config Release --verbose
134134
135+
- name: cmake uninstall (static)
136+
if: always()
137+
run: cmake --build build/cmake/static --target uninstall_forcolormap --config Release --verbose
138+
135139
- name: cmake install (shared)
136140
if: always()
137141
run: |
138142
cmake -S . -B build/cmake/shared -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=. -G Ninja
139143
cmake --build build/cmake/shared --config Release
140144
cmake --install build/cmake/shared --config Release --verbose
141145
146+
- name: cmake uninstall (shared)
147+
if: always()
148+
run: cmake --build build/cmake/shared --target uninstall_forcolormap --config Release --verbose
149+
142150
linter_fortitude:
143151
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
144152
name: Run Fortitude Linter

0 commit comments

Comments
 (0)