generated from userver-framework/service_template
-
Notifications
You must be signed in to change notification settings - Fork 11
39 lines (31 loc) · 948 Bytes
/
docker.yaml
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
name: Docker build
'on':
pull_request:
push:
branches:
- master
- develop
- feature/**
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: true
- name: Reuse ccache directory
uses: actions/cache@v2
with:
path: .ccache
key: 'ccache-dir-${{github.ref}}_run-${{github.run_number}}'
restore-keys: |
ccache-dir-${{github.ref}}_run-
ccache-
- name: Setup ccache
run: docker-compose run --rm uservice-dynconf-container bash -c 'ccache -M 2.0GB && ccache -s'
- name: Cmake
run: make docker-cmake-release
- name: Build
run: make docker-build-release
- name: Run tests
run: make docker-test-release