forked from zhou-lab/biscuit
-
Notifications
You must be signed in to change notification settings - Fork 7
46 lines (34 loc) · 1.12 KB
/
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
46
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 && sudo apt remove libdeflate-dev -y
- 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
# macos-latest is now ARM-only, macos-13 is the most recent version that supports x86-64
runs-on: macos-13
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