File tree Expand file tree Collapse file tree 3 files changed +78
-2
lines changed Expand file tree Collapse file tree 3 files changed +78
-2
lines changed Original file line number Diff line number Diff line change 1+ name : test-macos-aarch64
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ test :
13+ runs-on : macos-11.0
14+ steps :
15+ - uses : actions/checkout@v3
16+ - name : Install prerequisites
17+ run : |
18+ brew update
19+ brew install cmake pkg-config git wget curl
20+ brew install vcpkg
21+ - name : Install vcpkg
22+ run : |
23+ vcpkg integrate install
24+ - name : Clone project repository
25+ run : |
26+ git clone https://github.com/lk-libs/libcpp-http-client.git ~/libcpp-http-client
27+ - name : Run cmake with vcpkg toolchain
28+ run : |
29+ cd ~/libcpp-http-client
30+ cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(brew --prefix vcpkg)/scripts/buildsystems/vcpkg.cmake
31+ - name : Build the project
32+ run : |
33+ cd ~/libcpp-http-client
34+ cmake --build build --config Release
35+ - name : Run tests
36+ run : |
37+ cd ~/libcpp-http-client/build
38+ ./test/test
Original file line number Diff line number Diff line change 1+ name : test-macos-x86_64
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+
11+ jobs :
12+ test :
13+ runs-on : macos-latest
14+ steps :
15+ - uses : actions/checkout@v3
16+ - name : Install prerequisites
17+ run : |
18+ brew update
19+ brew install cmake pkg-config git wget curl
20+ brew install vcpkg
21+ - name : Install vcpkg
22+ run : |
23+ vcpkg integrate install
24+ - name : Clone project repository
25+ run : |
26+ git clone https://github.com/lk-libs/libcpp-http-client.git ~/libcpp-http-client
27+ - name : Run cmake with vcpkg toolchain
28+ run : |
29+ cd ~/libcpp-http-client
30+ cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$(brew --prefix vcpkg)/scripts/buildsystems/vcpkg.cmake
31+ - name : Build the project
32+ run : |
33+ cd ~/libcpp-http-client
34+ cmake --build build --config Release
35+ - name : Run tests
36+ run : |
37+ cd ~/libcpp-http-client/build
38+ ./test/test
Original file line number Diff line number Diff line change 11# libcpp-http-client
22Modern non-blocking HTTP Client library for C++ (17+)
33
4- [ ![ test- linux-x86_64] ( https://github.com/lk-libs/libcpp-http-client/actions/workflows/test-linux-x86_64.yml/badge.svg )] ( https://github.com/lk-libs/libcpp-http-client/actions/workflows/test-linux-x86_64.yml )
5- [ ![ test- linux-aarch64] ( https://github.com/lk-libs/libcpp-http-client/actions/workflows/test-linux-aarch64.yml/badge.svg )] ( https://github.com/lk-libs/libcpp-http-client/actions/workflows/test-linux-aarch64.yml )
4+ [ ![ linux-x86_64 ] ( https://github.com/lk-libs/libcpp-http-client/actions/workflows/test-linux-x86_64.yml/badge.svg )] ( https://github.com/lk-libs/libcpp-http-client/actions/workflows/test-linux-x86_64.yml )
5+ [ ![ linux-aarch64 ] ( https://github.com/lk-libs/libcpp-http-client/actions/workflows/test-linux-aarch64.yml/badge.svg )] ( https://github.com/lk-libs/libcpp-http-client/actions/workflows/test-linux-aarch64.yml )
You can’t perform that action at this time.
0 commit comments