Skip to content

Commit 4bae1a4

Browse files
committed
Merge remote-tracking branch 'benma/ci-sim'
2 parents b2d0f21 + 5552fb4 commit 4bae1a4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.ci/ci

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ make -j8 run-unit-tests
2525
make -j8 run-rust-unit-tests
2626
make -j8 run-valgrind-on-unit-tests
2727

28+
# BUild simulator
29+
make -j8 simulator
30+
2831
# Rust linter
2932
make -j8 run-rust-clippy
3033

test/simulator/CMakeLists.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,4 +182,11 @@ target_link_libraries(simulator PRIVATE
182182
bitbox-simulator
183183
-Wl,--end-group
184184
""
185-
)
185+
)
186+
187+
add_custom_command(
188+
TARGET simulator POST_BUILD
189+
COMMAND ${CMAKE_STRIP} simulator
190+
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
191+
COMMENT "\nStripping simulator binary"
192+
)

0 commit comments

Comments
 (0)