File tree Expand file tree Collapse file tree 3 files changed +93
-0
lines changed Expand file tree Collapse file tree 3 files changed +93
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Ubuntu (clang)
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ strategy :
12+ matrix :
13+ mode : [ Debug, Release ]
14+ runs-on : ubuntu-22.04
15+
16+ steps :
17+ - name : check out
18+ uses : actions/checkout@v3
19+
20+ - name : Install Dependencies
21+ run : |
22+ sudo apt-get update
23+ sudo apt-get install curl libssl-dev libcurl4-openssl-dev libmxml-dev libapr1-dev libaprutil1-dev
24+
25+ - name : configure cmake
26+ run : CXX=clang++ CC=clang cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.mode }}
27+
28+ - name : build project
29+ run : cmake --build ${{ github.workspace }}/build --config ${{ matrix.mode }}
30+
31+
Original file line number Diff line number Diff line change 1+ name : Ubuntu (gcc)
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ ubuntu_gcc :
11+ strategy :
12+ matrix :
13+ mode : [ Debug, Release ]
14+ runs-on : [ubuntu-16.04, ubuntu-18.04, ubuntu-22.04]
15+
16+ steps :
17+ - name : check out
18+ uses : actions/checkout@v3
19+
20+ - name : Install Dependencies
21+ run : |
22+ sudo apt-get update
23+ sudo apt-get install curl libssl-dev libcurl4-openssl-dev libmxml-dev libapr1-dev libaprutil1-dev
24+
25+ - name : checkout gcc version
26+ run : gcc --version
27+
28+ - name : configure cmake
29+ run : CXX=g++ CC=gcc cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -DCMAKE_CXX_STANDARD=${{ matrix.cpp_version }}
30+
31+ - name : build project
32+ run : cmake --build ${{ github.workspace }}/build --config ${{ matrix.mode }}
Original file line number Diff line number Diff line change 1+ name : Windows Server 2022
2+
3+ on :
4+ push :
5+ branches : [ master ]
6+ pull_request :
7+ branches : [ master ]
8+
9+ jobs :
10+ build :
11+ runs-on : windows-latest
12+
13+ strategy :
14+ matrix :
15+ mode : [Debug, Release]
16+ arch : [x64, Win32]
17+
18+ env :
19+ CXX : cl.exe
20+ CC : cl.exe
21+
22+ steps :
23+ - name : check out
24+ uses : actions/checkout@v3
25+
26+ - name : generate project
27+ run : cmake -B ${{ github.workspace }}\build -DCMAKE_BUILD_TYPE=${{ matrix.mode }} -A${{ matrix.arch }}
28+
29+ - name : build project
30+ run : cmake --build ${{ github.workspace }}\build --config ${{ matrix.mode }}
You can’t perform that action at this time.
0 commit comments