-
Notifications
You must be signed in to change notification settings - Fork 2.4k
49 lines (42 loc) · 988 Bytes
/
ci.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
42
43
44
45
46
47
48
name: ci build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
ubuntu-cmake:
name: ubuntu
runs-on: ubuntu-latest
steps:
- name: setup
run: |
sudo apt-get update
sudo apt-get install cmake g++ libgtest-dev make libssl-dev
sudo apt-get install redis valgrind
- uses: actions/checkout@v2
- name: make
run: make
- name: make check
run: make check
- name: make tutorial
run: make tutorial
fedora-cmake:
name: fedora
runs-on: ubuntu-latest
container:
image: fedora:latest
steps:
- uses: actions/checkout@v3
- run: cat /etc/os-release
- name: install dependencies
run: |
dnf -y update
dnf -y install cmake gcc-c++ gtest-devel make
dnf -y install openssl-devel redis valgrind
- name: make
run: make
- name: make check
run: make check
- name: make tutorial
run: make tutorial