Skip to content

Commit f8c22b2

Browse files
authored
Update cmake-multi-platform.yml
1 parent b3a72e6 commit f8c22b2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/cmake-multi-platform.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ concurrency:
1010
group: ci-${{ github.ref }}
1111
cancel-in-progress: true
1212

13+
1314
##############################################################################
14-
# 1) ARCH LINUX – Clang / Ninja (runs in an official Arch container)
15+
# 1) ARCH LINUX – Clang / Ninja
1516
##############################################################################
1617
jobs:
1718
arch-build-and-test:
@@ -40,15 +41,15 @@ jobs:
4041
shell: bash
4142
run: cmake --build cmake-build/build/linux-release
4243

43-
# --- Run tests --------------------------------------------------------
4444
- name: Run unit_tests
4545
shell: bash
46+
working-directory: cmake-build/build/linux-release
4647
run: ./out/Release/unit_tests
4748

4849

4950

5051
##############################################################################
51-
# 2) macOS – Clang / Ninja (native runner)
52+
# 2) macOS – Clang / Ninja
5253
##############################################################################
5354
macos-build-and-test:
5455
name: macOS (Clang)
@@ -73,12 +74,13 @@ jobs:
7374

7475
- name: Run unit_tests
7576
shell: bash
77+
working-directory: cmake-build/build/darwin-release
7678
run: ./out/Release/unit_tests
7779

7880

7981

8082
##############################################################################
81-
# 3) Windows – MSVC / Ninja (native runner)
83+
# 3) Windows – MSVC / Ninja
8284
##############################################################################
8385
windows-build-and-test:
8486
name: Windows (MSVC)
@@ -106,4 +108,5 @@ jobs:
106108

107109
- name: Run unit_tests.exe
108110
shell: bash
111+
working-directory: cmake-build/build/windows-release
109112
run: ./out/Release/unit_tests.exe

0 commit comments

Comments
 (0)