mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
34 lines
857 B
YAML
34 lines
857 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ dev ]
|
|
pull_request:
|
|
branches: [ dev ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
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
|
|
- name: make distcheck (server)
|
|
run: make distcheck
|
|
- name: autoconf (client)
|
|
run: ./switch_build.sh client && autoreconf --install
|
|
- name: configure (client)
|
|
run: ./configure --enable-headless
|
|
- name: make (client)
|
|
run: make
|
|
- name: make distcheck (client)
|
|
run: make distcheck
|