Must use latest flex to generate c++17 compatible code

This commit is contained in:
Miodrag Milanovic 2021-11-05 11:41:51 +01:00
parent d5de2a0cdb
commit 18bcf820b3
1 changed files with 4 additions and 2 deletions

View File

@ -18,7 +18,7 @@ jobs:
steps: steps:
- name: Install Dependencies - name: Install Dependencies
run: | run: |
brew install bison gawk libffi pkg-config bash brew install bison flex gawk libffi pkg-config bash
- name: Runtime environment - name: Runtime environment
shell: bash shell: bash
@ -28,6 +28,7 @@ jobs:
echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV
echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
- name: Tool versions - name: Tool versions
@ -90,7 +91,7 @@ jobs:
steps: steps:
- name: Install Dependencies - name: Install Dependencies
run: | run: |
brew install bison gawk libffi pkg-config bash brew install bison flex gawk libffi pkg-config bash
- name: Runtime environment - name: Runtime environment
shell: bash shell: bash
@ -100,6 +101,7 @@ jobs:
echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV
echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH echo "$GITHUB_WORKSPACE/.local/bin" >> $GITHUB_PATH
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
- name: Setup compiler - name: Setup compiler