Must use latest flex to generate c++17 compatible code
authorMiodrag Milanovic <mmicko@gmail.com>
Fri, 5 Nov 2021 10:41:51 +0000 (11:41 +0100)
committerMiodrag Milanovic <mmicko@gmail.com>
Fri, 5 Nov 2021 10:41:51 +0000 (11:41 +0100)
.github/workflows/test-macos.yml

index c9722c5a0d443e4b4b733986dd1930035b2aebd6..1b13d011b313960134d1855160fa5802c253c27b 100644 (file)
@@ -18,7 +18,7 @@ jobs:
     steps:
       - name: Install Dependencies
         run: |
-          brew install bison gawk libffi pkg-config bash
+          brew install bison flex gawk libffi pkg-config bash
 
       - name: Runtime environment
         shell: bash
@@ -28,6 +28,7 @@ jobs:
           echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV
           echo "$GITHUB_WORKSPACE/.local/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
 
       - name: Tool versions
@@ -90,7 +91,7 @@ jobs:
     steps:
       - name: Install Dependencies
         run: |
-          brew install bison gawk libffi pkg-config bash
+          brew install bison flex gawk libffi pkg-config bash
 
       - name: Runtime environment
         shell: bash
@@ -100,6 +101,7 @@ jobs:
           echo "GITHUB_WORKSPACE=`pwd`" >> $GITHUB_ENV
           echo "$GITHUB_WORKSPACE/.local/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
 
       - name: Setup compiler