Skip to content

Commit

Permalink
CI: macOS: try alt PATH assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
slivingston committed Nov 14, 2024
1 parent 8909b8b commit 4b5699d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@ jobs:
cc: gcc
env:
CC: ${{ matrix.cc }}
PATH: /opt/homebrew/opt/flex/bin:/opt/homebrew/opt/bison/bin:$PATH
steps:
- uses: actions/checkout@v4
- name: Install packages via Brew if macOS
if: runner.os == 'macOS'
run: |
brew install graphviz
brew install flex
echo 'export PATH="/opt/homebrew/opt/flex/bin:$PATH"' >> $HOME/.bash_profile
brew install bison
echo 'export PATH="/opt/homebrew/opt/bison/bin:$PATH"' >> $HOME/.bash_profile
- name: Install APT packages if Ubuntu
if: runner.os == 'Linux'
run: |
Expand Down

0 comments on commit 4b5699d

Please sign in to comment.