Skip to content

Commit d612094

Browse files
committed
XXX messing with macos homebrew pkg-config, flex, bison
1 parent a9b32c6 commit d612094

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,17 @@ jobs:
219219
runs-on: macos-latest
220220
steps:
221221
- uses: actions/checkout@v3
222+
- name: Print original PATH
223+
run: |
224+
echo "PATH=$PATH"
225+
type flex
226+
type bison
227+
# - name: Configure environment to use brew kegs for flex and bison
228+
# run: |
229+
# echo "PATH=/opt/homebrew/opt/flex/bin:/opt/homebrew/opt/bison/bin:$PATH" >> $GITHUB_ENV
222230
- name: Install prerequisites
223231
run: >-
224-
# brew update
232+
brew update
225233
226234
brew install
227235
cmake
@@ -235,7 +243,7 @@ jobs:
235243
readline
236244
libserialport
237245
pkg-config
238-
- name: Print PATH
246+
- name: Print PATH after brew install
239247
run: |
240248
echo "PATH=$PATH"
241249
type flex

0 commit comments

Comments
 (0)