File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : MacOS Tests (mouse)
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ paths :
7+ - ' src/**'
8+ - ' tests/**'
9+ - ' .github/**'
10+ - ' CMakeLists.txt'
11+ pull_request :
12+ branches : [ master ]
13+ paths :
14+ - ' src/**'
15+ - ' tests/**'
16+ - ' .github/**'
17+ - ' CMakeLists.txt'
18+
19+ jobs :
20+ test-macos :
21+ runs-on : macos-latest
22+ steps :
23+ - uses : actions/checkout@v3
24+ with :
25+ submodules : recursive
26+
27+ - name : Install dependencies
28+ run : brew install cmake sdl2
29+
30+ - name : Configure
31+ run : cmake -B build
32+
33+ - name : Build
34+ run : cmake --build build
35+
36+ - name : Test
37+ run : |
38+ # macOS can run GUI apps in headless mode
39+ build/bin/RobotCPPSDLTest --gtest_filter=-*InteractiveMode --ci-mode true
Original file line number Diff line number Diff line change 1- name : Robot CPP Tests
1+ name : Windows Tests (mouse)
22
33on :
44 push :
1717 - ' CMakeLists.txt'
1818
1919jobs :
20- test-macos :
21- runs-on : macos-latest
22- steps :
23- - uses : actions/checkout@v3
24- with :
25- submodules : recursive
26-
27- - name : Install dependencies
28- run : brew install cmake sdl2
29-
30- - name : Configure
31- run : cmake -B build
32-
33- - name : Build
34- run : cmake --build build
35-
36- - name : Test
37- run : |
38- # macOS can run GUI apps in headless mode
39- build/bin/RobotCPPSDLTest --gtest_filter=-*InteractiveMode --ci-mode true
40-
41- # Note: Windows tests can be unstable in CI
4220 test-windows :
4321 runs-on : windows-latest
4422 steps :
Original file line number Diff line number Diff line change 11# Robot CPP
22
3- [ ![ Robot CPP Tests] ( https://github.com/developer239/robot-cpp/actions/workflows/test.yml/badge.svg )] ( https://github.com/developer239/robot-cpp/actions/workflows/test.yml )
4- ![ Windows] ( https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white )
5- ![ macOS] ( https://img.shields.io/badge/mac%20os-000000?style=for-the-badge&logo=macos&logoColor=F0F0F0 )
3+ [ ![ macOS Tests] ( https://github.com/developer239/robot-cpp/actions/workflows/test-macos.yml/badge.svg )] ( https://github.com/developer239/robot-cpp/actions/workflows/test-macos.yml )
4+ [ ![ Windows Tests] ( https://github.com/developer239/robot-cpp/actions/workflows/test-windows.yml/badge.svg )] ( https://github.com/developer239/robot-cpp/actions/workflows/test-windows.yml )
65
76This library is inspired by older unmaintained libraries like [ octalmage/robotjs] ( https://github.com/octalmage/robotjs )
87and [ Robot/robot-js] ( https://github.com/Robot/robot-js ) . The goal is to provide cross-platform controls for various
You can’t perform that action at this time.
0 commit comments