Add GitHub Action CI

This commit is contained in:
Les De Ridder 2020-07-31 14:49:48 +02:00
parent f6d5862ceb
commit 1952d58df2
1 changed files with 33 additions and 0 deletions

33
.github/workflows/c-cpp.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: C/C++ CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt install libreadline-dev libradare2-dev llvm-dev
- name: Create build directory
run: mkdir build
- name: Configure
working-directory: build
run: >-
../configure
--prefix=/usr
--target=i686-w64-mingw32
--with-system-readline
--disable-nls
- name: Build
working-directory: build
run: make
- name: Install
working-directory: build
run: make install