Skip to content

Commit a6fd7ed

Browse files
committed
XXX unify brew setup
1 parent c1c74e7 commit a6fd7ed

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ jobs:
219219
runs-on: macos-latest
220220
steps:
221221
- uses: actions/checkout@v3
222-
- name: Print original PATH
222+
- name: Original PATH and build tools
223223
run: |
224224
echo "PATH=$PATH"
225225
for b in bison flex pkg-config; do type "$b"; done
@@ -239,7 +239,7 @@ jobs:
239239
- name: Configure environment to use brew kegs for flex and bison
240240
run: |
241241
echo "PATH=/opt/homebrew/opt/flex/bin:/opt/homebrew/opt/bison/bin:$PATH" >> $GITHUB_ENV
242-
- name: Print PATH after brew install
242+
- name: post-brew PATH and build tools
243243
run: |
244244
echo "PATH=$PATH"
245245
for b in bison flex pkg-config; do type "$b"; done
@@ -278,6 +278,10 @@ jobs:
278278
runs-on: macos-latest
279279
steps:
280280
- uses: actions/checkout@v3
281+
- name: Original PATH and build tools
282+
run: |
283+
echo "PATH=$PATH"
284+
for b in bison flex pkg-config; do type "$b"; done
281285
- name: Install prerequisites
282286
run: >-
283287
brew install
@@ -293,12 +297,13 @@ jobs:
293297
libftdi
294298
readline
295299
libserialport
296-
- name: Print PATH
300+
- name: Configure environment to use brew kegs for flex and bison
301+
run: |
302+
echo "PATH=/opt/homebrew/opt/flex/bin:/opt/homebrew/opt/bison/bin:$PATH" >> $GITHUB_ENV
303+
- name: post-brew PATH and build tools
297304
run: |
298305
echo "PATH=$PATH"
299306
for b in bison flex pkg-config; do type "$b"; done
300-
ls /opt/homebrew/include
301-
ls /opt/homebrew/lib
302307
- name: Configure
303308
run: >-
304309
./src/bootstrap

0 commit comments

Comments
 (0)