Skip to content

Commit

Permalink
Update all.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sandordargo authored Oct 10, 2024
1 parent 9685ceb commit 99bf3fa
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,20 @@ jobs:
run: |
echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"
- name: Configure CMake
- name: Configure CMake (Linux)
if: matrix.os == 'ubuntu-latest'
run: >
export BOOST_ROOT="${{ steps.boost.outputs.boost-root-dir }}" && echo "$BOOST_ROOT" && cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-S ${{ github.workspace }}
- name: Configure CMake (MacOs)
if: matrix.os == 'macos-latest'
run: >
export BOOST_ROOT=$(brew --prefix boost) && echo "$BOOST_ROOT" && cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-S ${{ github.workspace }}
- name: Build
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config ${{ matrix.build_type }}

Expand Down

0 comments on commit 99bf3fa

Please sign in to comment.