forked from xline-kv/Xline
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1.16 KB
/
validation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Validation
on:
workflow_dispatch: {}
pull_request:
types: [opened, synchronize, reopened]
schedule:
- cron: "00 00 * * 1"
jobs:
validation:
name: Validation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Configure sccache
uses: actions/github-script@v7
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');
call_build_xline:
name: Build and Upload Artifacts
uses: ./.github/workflows/build_xline.yml
with:
docker_xline_image: 'ghcr.io/xline-kv/build-env:latest'
additional_setup_commands: |
sudo apt-get install -y --force-yes expect
ldd ./xline
ldd ./benchmark
cp ../fixtures/{private,public}.pem .
docker build . -t ghcr.io/xline-kv/xline:latest
docker pull gcr.io/etcd-development/etcd:v3.5.5
binaries: 'xline,benchmark,validation_lock_client'
script_name: 'validation_test.sh'
uploadLogs: true