Skip to content

Commit

Permalink
Merge pull request #10 from jgarzik/ci
Browse files Browse the repository at this point in the history
Ci
  • Loading branch information
jgarzik authored Feb 25, 2024
2 parents 1a900d5 + 876eaf1 commit f73b82e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions .github/workflows/TestingCI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: C/C++ CI

on: [push]

env:
CARGO_TERM_COLOR: always

jobs:
linux-ubuntu:

runs-on: ubuntu-latest

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
run: make -s
- name: Run tests
run: make -s check

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit f73b82e

Please sign in to comment.