From 1952d58df2c548b1b6889647e98c2d9c5a13c9d7 Mon Sep 17 00:00:00 2001 From: Les De Ridder Date: Fri, 31 Jul 2020 14:49:48 +0200 Subject: [PATCH] Add GitHub Action CI --- .github/workflows/c-cpp.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/c-cpp.yml diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 0000000..5142b60 --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -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