Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Chong Liu committed Dec 3, 2023
1 parent 79b6cf0 commit 9ccbf2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/buildRunTestWorkflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,21 @@ jobs:
run: cmake --version

# Step: Build all the tests
- name: Build all the GTests
- name: Build all the Executables
run: |
mkdir build
cd build
cmake ..
cmake --build .
# Step: Run all test executables in the build/bin directory
- name: Run Main
- name: Run Main Executable
run: |
chmod +x .github/workflows/testRunner/runMain.sh
.github/workflows/testRunner/runMain.sh
# Step: Run all test executables in the build/bin directory
- name: Run all GTests
- name: Run all GTests Executables
run: |
chmod +x .github/workflows/testRunner/runGTests.sh
.github/workflows/testRunner/runGTests.sh
2 changes: 1 addition & 1 deletion apps/src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# 设置库文件名
set(lib_calc_name calc)
# 生成静态库
add_library(${lib_calc_name} STATIC lib_calc.c)
add_library(${lib_calc_name} STATIC ${PROJECT_SOURCE_DIR}/apps/src/lib_calc.c)
# 添加头文件地址
target_include_directories(${lib_calc_name} PRIVATE ${PROJECT_SOURCE_DIR}/apps/inc)
# 设置库文件输出路径
Expand Down

0 comments on commit 9ccbf2a

Please sign in to comment.