|
23 | 23 | OS: ${{ matrix.os }}-latest
|
24 | 24 | runs-on: ${{ matrix.os }}-latest
|
25 | 25 | steps:
|
| 26 | + - name: Install dependencies |
| 27 | + uses: ./.github/actions/prepare_vm |
| 28 | + - name: Prepare ccache timestamp |
| 29 | + id: ccache_cache_timestamp |
| 30 | + shell: cmake -P {0} |
| 31 | + run: | |
| 32 | + string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) |
| 33 | + message("::set-output name=timestamp::${current_date}") |
| 34 | + - name: Restore cache files |
| 35 | + uses: actions/cache/restore@v4 |
| 36 | + with: |
| 37 | + path: ~/.ccache |
| 38 | + key: ubuntu-22.04-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} |
| 39 | + restore-keys: | |
| 40 | + ubuntu-22.04-ccache- |
| 41 | + - name: Build |
| 42 | + uses: ./.github/actions/build |
26 | 43 | - name: Checkout code
|
27 | 44 | uses: actions/checkout@v4
|
28 | 45 | - name: Run tests
|
|
68 | 85 | YDB_SESSIONS_SHUTDOWN_URLS: http://localhost:8765/actors/kqp_proxy?force_shutdown=all
|
69 | 86 | HIDE_APPLICATION_OUTPUT: 1
|
70 | 87 | steps:
|
| 88 | + - name: Install dependencies |
| 89 | + uses: ./.github/actions/prepare_vm |
| 90 | + - name: Prepare ccache timestamp |
| 91 | + id: ccache_cache_timestamp |
| 92 | + shell: cmake -P {0} |
| 93 | + run: | |
| 94 | + string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC) |
| 95 | + message("::set-output name=timestamp::${current_date}") |
| 96 | + - name: Restore cache files |
| 97 | + uses: actions/cache/restore@v4 |
| 98 | + with: |
| 99 | + path: ~/.ccache |
| 100 | + key: ubuntu-22.04-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}} |
| 101 | + restore-keys: | |
| 102 | + ubuntu-22.04-ccache- |
| 103 | + - name: Build |
| 104 | + uses: ./.github/actions/build |
71 | 105 | - name: Checkout code
|
72 | 106 | uses: actions/checkout@v4
|
73 | 107 | - name: Run tests
|
|
0 commit comments