Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michalchecinski committed Apr 4, 2024
1 parent 34539bd commit 6f4dc51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,17 @@ jobs:
- name: Build
working-directory: languages/cpp
run: |
if [[ ${{ matrix.settings.os }} == 'macos-12' ]]; then
if [[ ${{ runner.os }} == 'macOS' ]]; then
export DNLOHMANN_PATH=/usr/local/opt/nlohmann-json
export DBOOST_PATH=/usr/local/opt/boost
fi
if [[ ${{ matrix.settings.os }} == 'ubuntu-22.04' ]]; then
if [[ ${{ runner.os }} == 'Linux' ]]; then
export DNLOHMANN_PATH=/usr/share/doc/nlohmann-json3-dev
export DBOOST_PATH=/usr/share/doc/libboost-all-dev
fi
if [[ ${{ matrix.settings.os }} == 'windows-2022' ]]; then
if [[ ${{ runner.os }} == 'Windows' ]]; then
export DNLOHMANN_PATH=/c/Program\ Files/nlohmann-json
export DBOOST_PATH=/c/Program\ Files/boost
fi
Expand Down

0 comments on commit 6f4dc51

Please sign in to comment.