Replace protoc, protobuf and gRPC libraries, TString and TStringBuf #36
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR-check | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
pull_request: | |
jobs: | |
main: | |
name: Build YDB C++ SDK | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout PR | |
uses: actions/checkout@v3 | |
if: github.event.pull_request.head.sha != '' | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
if: github.event.pull_request.head.sha == '' | |
- name: Install dependencies | |
uses: ./.github/actions/prepare_vm | |
- name: Prepare ccache timestamp | |
id: ccache_cache_timestamp | |
shell: cmake -P {0} | |
run: | | |
string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) | |
message("::set-output name=timestamp::${current_date}") | |
- name: Restore cache files | |
uses: actions/cache/restore@v4 | |
with: | |
path: ~/.ccache | |
key: ubuntu-22.04-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} | |
restore-keys: | | |
ubuntu-22.04-ccache- | |
- name: Build | |
uses: ./.github/actions/build |