Skip to content

Commit

Permalink
homebrew installation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
farhangnaderi committed Nov 11, 2024
1 parent 1479a56 commit f9bb5ce
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,23 @@ jobs:
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "eval $(/opt/homebrew/bin/brew shellenv)" >> $GITHUB_ENV
echo "HOMEBREW_PREFIX=/opt/homebrew" >> $GITHUB_ENV
echo "HOMEBREW_CELLAR=/opt/homebrew/Cellar" >> $GITHUB_ENV
echo "HOMEBREW_REPOSITORY=/opt/homebrew" >> $GITHUB_ENV
shell: bash

- name: Update PATH
run: echo "PATH=$PATH:/opt/homebrew/bin:/opt/homebrew/sbin" >> $GITHUB_ENV

- name: Install dependencies
run: |
source $GITHUB_ENV
brew install libzmq mosquitto parquet
shell: bash

- name: Cache Qt
id: cache-qt
uses: actions/cache@v1 # not v2!
uses: actions/cache@v1
with:
path: '${{ github.workspace }}/qt_installation/'
key: ${{ runner.os }}-QtCache
Expand All @@ -46,6 +53,6 @@ jobs:

- name: Build Plotjuggler
shell: pwsh
run: >
cmake -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler;
cmake --build build --target install
run: |
cmake -B build -DCMAKE_INSTALL_PREFIX=install PlotJuggler
cmake --build build --target install

0 comments on commit f9bb5ce

Please sign in to comment.