File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Robot CPP Tests
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ test-macos :
11+ runs-on : macos-latest
12+ steps :
13+ - uses : actions/checkout@v3
14+ with :
15+ submodules : recursive
16+
17+ - name : Install dependencies
18+ run : brew install cmake sdl2
19+
20+ - name : Configure
21+ run : cmake -B build
22+
23+ - name : Build
24+ run : cmake --build build
25+
26+ - name : Test
27+ run : |
28+ # macOS can run GUI apps in headless mode
29+ build/bin/RobotCPPSDLTest --gtest_filter=-*InteractiveMode --ci-mode true
30+
31+ # Note: Windows tests can be unstable in CI
32+ test-windows :
33+ runs-on : windows-latest
34+ steps :
35+ - uses : actions/checkout@v3
36+ with :
37+ submodules : recursive
38+
39+ - name : Configure
40+ run : cmake -B build
41+
42+ - name : Build
43+ run : cmake --build build --config Release
44+
45+ - name : Test
46+ run : build/bin/Release/RobotCPPSDLTest.exe --ci-mode true
You can’t perform that action at this time.
0 commit comments