diff --git a/.github/workflows/TestingCI.yml b/.github/workflows/TestingCI.yml new file mode 100644 index 0000000..6b7996d --- /dev/null +++ b/.github/workflows/TestingCI.yml @@ -0,0 +1,21 @@ +name: 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 flex bison autopoint gettext + - name: Prepare + run: ./autogen.sh && ./configure + - name: Build + run: make -s + diff --git a/expr/expr.cc b/expr/expr.cc index 9459620..3412c8f 100644 --- a/expr/expr.cc +++ b/expr/expr.cc @@ -55,7 +55,9 @@ enum token_type { }; extern "C" { +#if 0 long long yylval = 0; +#endif #define YYSTYPE long long #include "expr-parse.h"