Skip to content

Commit

Permalink
fix workflow file?
Browse files Browse the repository at this point in the history
  • Loading branch information
mhekkel committed Mar 6, 2024
1 parent 24b51ab commit b29ec96
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,26 @@ jobs:
shell: bash
run: echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT"

- name: Install Boost Ubuntu
- name: Install Catch2 Ubuntu
if: matrix.os == 'ubuntu-latest'
run: >
sudo apt-get update && sudo apt-get install libboost-dev
sudo apt-get update && sudo apt-get install catch2
- name: Install Boost Windows
if: matrix.os == 'windows-latest'
uses: MarkusJx/[email protected]
id: install-boost
with:
boost_version: 1.82.0
platform_version: 2019
toolset: msvc
# - name: Install Catch2 Windows
# if: matrix.os == 'windows-latest'
# uses: MarkusJx/[email protected]
# id: install-boost
# with:
# boost_version: 1.82.0
# platform_version: 2019
# toolset: msvc

- name: Install Boost macOS
- name: Install Catch2 macOS
if: matrix.os == 'macos-latest'
run: >
brew install boost
brew install catch2
- name: Configure CMake
env:
BOOST_ROOT: ${{ steps.install-boost.outputs.BOOST_ROOT }}
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
-DCMAKE_CXX_COMPILER=${{ matrix.cpp_compiler }}
Expand Down

0 comments on commit b29ec96

Please sign in to comment.