forked from zhou-lab/biscuit
-
Notifications
You must be signed in to change notification settings - Fork 7
45 lines (33 loc) · 1020 Bytes
/
check_build.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
name: Check Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build-ubuntu:
name: Check Ubuntu Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install system dependencies
run: sudo apt install libcurl4-openssl-dev
- name: Check build
run: mkdir build && cd build && cmake ../ -DCMAKE_INSTALL_PREFIX=../ && make && make install
- name: Install Check
run: ./bin/biscuit version
# These haven't been generated yet, so uncomment when ready
# - name: Run tests
# run: make check
build-mac:
name: Check macOS Build
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Check build
run: mkdir build && cd build && cmake ../ -DCMAKE_INSTALL_PREFIX=../ && make && make install
- name: Install Check
run: ./bin/biscuit version
# These haven't been generated yet, so uncomment when ready
# - name: Run tests
# run: make check