Skip to content

Commit

Permalink
Fix CI run-tests script to use cleaner CMAKE cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jerryz123 committed Nov 8, 2024
1 parent 776ac5a commit 48306ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/scripts/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ run_binary () {
}

build_tests() {
cmake $LOCAL_CHIPYARD_DIR/tests/ -S $LOCAL_CHIPYARD_DIR/tests/ -B $LOCAL_CHIPYARD_DIR/tests/build/ -D CMAKE_BUILD_TYPE=Debug
cmake --build $LOCAL_CHIPYARD_DIR/tests/build/ --target all
(cd $LOCAL_CHIPYARD_DIR/tests && cmake . && make)
}

case $1 in
Expand Down

0 comments on commit 48306ac

Please sign in to comment.