File tree Expand file tree Collapse file tree 1 file changed +4
-35
lines changed
Expand file tree Collapse file tree 1 file changed +4
-35
lines changed Original file line number Diff line number Diff line change 1- name : Omath CI (Arch Linux / macOS / Windows)
1+ name : Omath CI (Arch Linux / Windows)
22
33on :
44 push :
3939
4040 - name : Build
4141 shell : bash
42- run : cmake --build cmake-build/build/linux-release
42+ run : cmake --build cmake-build/build/linux-release --target all
4343
4444 - name : Run unit_tests
4545 shell : bash
4949
5050
5151# #############################################################################
52- # 2) macOS – Clang / Ninja
53- # #############################################################################
54- macos-build-and-test :
55- name : macOS (Clang)
56- runs-on : macos-latest
57-
58- steps :
59- - name : Checkout repository (with sub-modules)
60- uses : actions/checkout@v4
61- with :
62- submodules : recursive
63-
64- - name : Install Ninja
65- uses : seanmiddleditch/gha-setup-ninja@v4
66-
67- - name : Configure (cmake --preset)
68- shell : bash
69- run : cmake --preset darwin-release -DOMATH_BUILD_TESTS=ON
70-
71- - name : Build
72- shell : bash
73- run : cmake --build cmake-build/build/darwin-release
74-
75- - name : Run unit_tests
76- shell : bash
77- working-directory : cmake-build/build/darwin-release
78- run : ./out/Release/unit_tests
79-
80-
81-
82- # #############################################################################
83- # 3) Windows – MSVC / Ninja
52+ # 2) Windows – MSVC / Ninja
8453# #############################################################################
8554 windows-build-and-test :
8655 name : Windows (MSVC)
10473
10574 - name : Build
10675 shell : bash
107- run : cmake --build cmake-build/build/windows-release
76+ run : cmake --build cmake-build/build/windows-release --target all
10877
10978 - name : Run unit_tests.exe
11079 shell : bash
You can’t perform that action at this time.
0 commit comments