-
Notifications
You must be signed in to change notification settings - Fork 169
29 lines (25 loc) · 766 Bytes
/
Copy pathc-cpp.yml
File metadata and controls
29 lines (25 loc) · 766 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
name: C/C++ CI
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install build dependencies
run: sudo apt-get update && sudo apt-get install libfuse-dev libcurl4-nss-dev libcrypto++-dev libzstd-dev
- name: autoconf (server)
run: ./switch_build.sh server && autoreconf --install
- name: configure (server)
run: ./configure --with-mountvhd
- name: make (server)
run: make -j$((`nproc`+1))
- name: autoconf (client)
run: ./switch_build.sh client && autoreconf --install
- name: configure (client)
run: ./configure --enable-headless
- name: make (client)
run: make -j$((`nproc`+1))