File tree Expand file tree Collapse file tree 2 files changed +62
-62
lines changed
Expand file tree Collapse file tree 2 files changed +62
-62
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : build
2+
3+ on :
4+ push :
5+ branches : [master]
6+ pull_request :
7+ types : [opened, synchronize, reopened]
8+
9+ jobs :
10+ debug :
11+ name : ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ matrix :
15+ - os : ubuntu-latest
16+ arch : x64
17+ - os : ubuntu-latest
18+ arch : x86
19+ - os : macos-latest
20+ arch : x64
21+ - os : macos-latest
22+ arch : x86
23+ steps :
24+ - uses : actions/checkout@v2
25+ - name : Create Build Environment
26+ run : cmake -E make_directory ${{runner.workspace}}/build
27+
28+ - name : Configure CMake
29+ shell : bash
30+ working-directory : ${{runner.workspace}}/build
31+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=DEBUG
32+
33+ - name : Build
34+ working-directory : ${{runner.workspace}}/build
35+ shell : bash
36+ # Execute the build. You can specify a specific target with "--target <NAME>"
37+ run : |
38+ cmake --build . --config DEBUG
39+
40+ release :
41+ runs-on : ${{ matrix.os }}
42+ strategy :
43+ matrix :
44+ os : [ubuntu-latest, macos-latest]
45+
46+ steps :
47+ - uses : actions/checkout@v1
48+
49+ - name : Create Build Environment
50+ run : cmake -E make_directory ${{runner.workspace}}/build
51+
52+ - name : Configure CMake
53+ shell : bash
54+ working-directory : ${{runner.workspace}}/build
55+ run : cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=RELEASE
56+
57+ - name : Build
58+ working-directory : ${{runner.workspace}}/build
59+ shell : bash
60+ # Execute the build. You can specify a specific target with "--target <NAME>"
61+ run : |
62+ cmake --build . --config RELEASE
You can’t perform that action at this time.
0 commit comments