Skip to content

Commit 63377c2

Browse files
committed
Solve issues cmake CI.
1 parent 37483ce commit 63377c2

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

.github/workflows/ci.yml

+10-12
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,17 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
build: [Debug, Release]
15-
os: [macos-13, macos-14, macos-15, ubuntu-22.04, ubuntu-24.04, windows-2019, windows-2022, windows-2025]
15+
os: [
16+
macos-13, macos-14, macos-15,
17+
ubuntu-22.04, ubuntu-24.04,
18+
windows-2019, windows-2022, windows-2025
19+
]
1620
runs-on: ${{ matrix.os }}
1721
steps:
18-
- uses: actions/checkout@v4
19-
- name: Build Project
20-
uses: threeal/[email protected]
21-
with:
22-
build-dir: build
23-
options: |
24-
CMAKE_BUILD_TYPE=${{ matrix.build }}
25-
26-
- name: Run Tests
27-
shell: bash
28-
run: |
22+
- name: Build & Test Project
23+
run:
24+
mkdir build
2925
cd build
26+
cmake -DCMAKE_BUILD_TYPE=${{ matrix.build }} ..
27+
cmake --build . --config ${{ matrix.build }}
3028
ctest -VV -C ${{ matrix.build }}

source/libnode2.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class should_not_call_init {
1111
should_not_call_init() {
1212
char * normal_executable = getenv("NORMAL_EXECUTABLE");
1313
if (normal_executable == NULL) {
14-
std::cout << "should_not_call_init constructor has been called and it should not" << std::endl;
14+
std::cout << "ERROR: should_not_call_init constructor has been called and it should not" << std::endl;
1515
assert(0);
1616
}
1717
}

0 commit comments

Comments
 (0)