-
Notifications
You must be signed in to change notification settings - Fork 4
42 lines (29 loc) · 905 Bytes
/
smoke.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
41
name: release-smoke-tests
on: [push]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install required packages
run: sudo apt-get install -y libnuma-dev
- name: Configure
run: mkdir build && cd build && ../bootstrap.sh --prefix=../install
- name: Build
working-directory: ${{github.workspace}}/build
run: make -j4
- name: Install
working-directory: ${{github.workspace}}/build
run: make -j4 install
- name: Test
working-directory: ${{github.workspace}}/build
run: make -j4 smoketests &> smoketests.log
- name: Check
working-directory: ${{github.workspace}}/build
run: ../tests/summarise.sh smoketests.log
- name: DumpLogOnFailure
if: failure()
working-directory: ${{github.workspace}}/build
run: cat smoketests.log