-
Notifications
You must be signed in to change notification settings - Fork 2
47 lines (37 loc) · 942 Bytes
/
build.yaml
File metadata and controls
47 lines (37 loc) · 942 Bytes
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
name: Clara CI
on:
push:
branches:
- '**'
pull_request:
branches:
- master
env:
BUILD_TYPE: RelWithDebInfo
INSTALL_DIR: $HOME/.local
MAKEFLAGS: -j2
jobs:
build_default:
name: Build on Ubuntu
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt install libzmq5-dev libprotobuf-dev protobuf-compiler
- name: Build project
run: |
./configure --prefix=${{ env.INSTALL_DIR }} --build-type=${{ env.BUILD_TYPE }}
make
make test
build_macos:
name: Build on macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: brew install zeromq protobuf
- name: Build project
run: |
./configure --prefix=${{ env.INSTALL_DIR }} --build-type=${{ env.BUILD_TYPE }}
make
make test