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 : Patcher (macOS)
2+
3+ on :
4+ push :
5+ branches : [ "v*", "master" ]
6+ paths : [ "patcher-darwin/**/*" ]
7+ pull_request :
8+ branches : [ "v*", "master" ]
9+ paths : [ "patcher-darwin/**/*" ]
10+
11+ jobs :
12+ build :
13+ name : Build macOS Patcher
14+ runs-on : macos-latest
15+
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v6.0.2
19+
20+ - name : Configure CMake
21+ run : cmake -S patcher-darwin -B patcher-darwin/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
22+
23+ - name : Build
24+ run : cmake --build patcher-darwin/build --config Release
25+
26+ - name : Upload patcher-darwin
27+ uses : actions/upload-artifact@v7
28+ with :
29+ name : patcher-darwin
30+ path : patcher-darwin/build/PeacockPatcher
31+
32+ clang-tidy :
33+ name : clang-tidy
34+ runs-on : macos-latest
35+
36+ steps :
37+ - name : Checkout repository
38+ uses : actions/checkout@v6.0.2
39+
40+ - name : Configure CMake
41+ run : cmake -S patcher-darwin -B patcher-darwin/build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
42+
43+ - name : Run clang-tidy
44+ run : |
45+ find patcher-darwin/src -name '*.cpp' -o -name '*.h' | \
46+ xargs clang-tidy -p patcher-darwin/build
You can’t perform that action at this time.
0 commit comments