From 89355a0d8c904b8086d9da0935a7a7ba255ae9b9 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sun, 25 Feb 2024 01:06:38 +0000 Subject: [PATCH 1/3] configure.ac: freshen AC_PROG_LEX --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 707a676..a2dcdff 100644 --- a/configure.ac +++ b/configure.ac @@ -45,7 +45,7 @@ AC_SUBST(LIBSQLPARS_AGE) LT_INIT LT_LANG([C]) -AC_PROG_LEX +AC_PROG_LEX(noyywrap) AC_PROG_YACC AC_CHECK_PROG(BISON, bison, bison, false) From 0f08be068b1b319111f9f71c85469eed0d9be220 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sun, 25 Feb 2024 01:06:51 +0000 Subject: [PATCH 2/3] [CI] add linux test build --- .github/workflows/TestingCI.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/TestingCI.yml diff --git a/.github/workflows/TestingCI.yml b/.github/workflows/TestingCI.yml new file mode 100644 index 0000000..3b9fefe --- /dev/null +++ b/.github/workflows/TestingCI.yml @@ -0,0 +1,21 @@ +name: C/C++ CI + +on: [push] + +env: + CARGO_TERM_COLOR: always + +jobs: + linux-ubuntu: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - name: Prepare + run: ./autogen.sh && ./configure + - name: Build + run: make -s + - name: Run tests + run: make -s check + From 876eaf1852f1ec9d4060152fcf815f784c401eff Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Sun, 25 Feb 2024 01:09:13 +0000 Subject: [PATCH 3/3] [CI] install deps --- .github/workflows/TestingCI.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/TestingCI.yml b/.github/workflows/TestingCI.yml index 3b9fefe..4df6ed7 100644 --- a/.github/workflows/TestingCI.yml +++ b/.github/workflows/TestingCI.yml @@ -12,6 +12,8 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Install deps + run: sudo apt-get -y install libjansson-dev flex bison - name: Prepare run: ./autogen.sh && ./configure - name: Build