File tree Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Expand file tree Collapse file tree 1 file changed +33
-1
lines changed Original file line number Diff line number Diff line change 12
12
main :
13
13
name : Examples
14
14
runs-on : ubuntu-22.04
15
+ strategy :
16
+ fail-fast : false
17
+ matrix :
18
+ ydb-version : [23.3, 24.1]
15
19
services :
16
20
ydb :
17
- image : ydbplatform/local-ydb:latest
21
+ image : ydbplatform/local-ydb:${{ matrix.ydb-version }}
18
22
ports :
19
23
- 2135:2135
20
24
- 2136:2136
27
31
YDB_TABLE_ENABLE_PREPARED_DDL : true
28
32
options : ' -h localhost'
29
33
steps :
34
+ - name : Checkout PR
35
+ uses : actions/checkout@v3
36
+ if : github.event.pull_request.head.sha != ''
37
+ with :
38
+ submodules : true
39
+ ref : ${{ github.event.pull_request.head.sha }}
40
+ - name : Checkout
41
+ uses : actions/checkout@v3
42
+ if : github.event.pull_request.head.sha == ''
43
+ with :
44
+ submodules : true
45
+ - name : Install dependencies
46
+ uses : ./.github/actions/prepare_vm
47
+ - name : Prepare ccache timestamp
48
+ id : ccache_cache_timestamp
49
+ shell : cmake -P {0}
50
+ run : |
51
+ string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
52
+ message("::set-output name=timestamp::${current_date}")
53
+ - name : Restore cache files
54
+ uses : actions/cache/restore@v4
55
+ with :
56
+ path : ~/.ccache
57
+ key : ubuntu-22.04-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
58
+ restore-keys : |
59
+ ubuntu-22.04-ccache-
60
+ - name : Build
61
+ uses : ./.github/actions/build
30
62
- name : Launch basic example
31
63
shell : bash
32
64
run : |
You can’t perform that action at this time.
0 commit comments