Skip to content

Commit da105c5

Browse files
committed
Merge remote-tracking branch 'origin/main'
2 parents 209f86e + 949ce8b commit da105c5

3 files changed

Lines changed: 45 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: C++ CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
strategy:
13+
matrix:
14+
os: [ubuntu-latest, windows-latest]
15+
steps:
16+
- uses: actions/checkout@v4
17+
- name: Install dependencies (vcpkg)
18+
uses: lukka/run-vcpkg@v11
19+
with:
20+
vcpkgJsonGlob: '**/vcpkg.json'
21+
vcpkgDirectory: '${{ github.workspace }}/vcpkg'
22+
runVcpkgInstall: true
23+
- name: Configure CMake
24+
run: cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=${{ github.workspace }}/vcpkg/scripts/buildsystems/vcpkg.cmake
25+
- name: Build (Windows)
26+
if: runner.os == 'Windows'
27+
run: cmake --build build
28+
shell: pwsh
29+
- name: Build (Linux)
30+
if: runner.os == 'Linux'
31+
run: cmake --build build -- -j$(nproc)

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
[![Documentation](https://img.shields.io/badge/docs-online-blue)](https://Krasnovvvvv.github.io/yandex-disk-cpp-client/)
55
[![GitHub stars](https://img.shields.io/github/stars/Krasnovvvvv/yandex-disk-cpp-client?style=social)](https://github.com/Krasnovvvvv/yandex-disk-cpp-client/stargazers)
66

7+
![Ubuntu](https://img.shields.io/badge/Ubuntu-20.04+-orange?logo=ubuntu)
8+
![Windows](https://img.shields.io/badge/Windows-10+-blue?logo=windows)
9+
![CI Ubuntu](https://img.shields.io/github/actions/workflow/status/Krasnovvvvv/yandex-disk-cpp-client/ci.yml?branch=main&label=Ubuntu&logo=ubuntu)
10+
![CI Windows](https://img.shields.io/github/actions/workflow/status/Krasnovvvvv/yandex-disk-cpp-client/ci.yml?branch=main&label=Windows&logo=windows)
11+
712
Modern C++ client library for the Yandex.Disk REST API.
813
A simple, lightweight, and efficient static library for integrating Yandex.Disk cloud storage into C++ projects across platforms
914

vcpkg.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "yandex-disk-cpp-client",
3+
"version": "1.0.1",
4+
"builtin-baseline": "a345bbdc68cdfda65603e24413b21afb28f110fb",
5+
"dependencies": [
6+
"curl",
7+
"nlohmann-json"
8+
]
9+
}

0 commit comments

Comments
 (0)