mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
35 lines
840 B
YAML
35 lines
840 B
YAML
name: C/C++ CI
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Update apt
|
|
run: sudo apt-get update
|
|
- name: Install packages
|
|
run: sudo apt-get install libncursesw5-dev libpcre++-dev libsqlite3-dev libbz2-dev libcurl4-openssl-dev libreadline-dev zlib1g-dev
|
|
- name: autogen
|
|
run: ./autogen.sh
|
|
- name: configure
|
|
run: ./configure --enable-static
|
|
- name: make
|
|
run: make -j4
|
|
- name: make distcheck
|
|
run: make distcheck -j4
|
|
- name: Upload a Build Artifact
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
# Artifact name
|
|
name: Linux 64-bit
|
|
# A file, directory or wildcard pattern that describes what to upload
|
|
path: src/lnav
|