File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Compile libsocket binaries
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ name : Build binaries on ${{ matrix.os }}
12+ runs-on : ${{ matrix.os }}
13+ strategy :
14+ matrix :
15+ os : [ubuntu-latest, windows-latest]
16+ fail-fast : false
17+
18+ steps :
19+ - name : Checkout
20+ uses : actions/checkout@v2
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Configure libsocket for ${{ matrix.os }}
25+ run : |
26+ mkdir build && cd build
27+ cmake ..
28+
29+ - name : Build libsocket for Linux
30+ if : success() && matrix.os == 'ubuntu-latest'
31+ run : |
32+ cd build
33+ cmake --build . --target all --config Release
34+
35+ - name : Build libsocket for Windows
36+ if : success() && matrix.os == 'windows-latest'
37+ run : |
38+ cd build
39+ cmake --build . --target ALL_BUILD --config Release
You can’t perform that action at this time.
0 commit comments