This commit is contained in:
David Coeurjolly 2023-01-10 10:48:46 +01:00
parent 78857af2eb
commit 61f94d9224

View File

@ -26,20 +26,19 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: macos
if: matrix.os == 'macOS-latest'
if: matrix.os == 'macOS-latest'
run: brew install libomp eigen
- name: linux
if: matrix.os == 'ubuntu-latest'
if: matrix.os == 'ubuntu-latest'
run: sudo apt-get install libeigen3-dev
- name: Configure CMake
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cd examples/main ; cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
# Build your program with the given configuration
run: cd examples/main ; cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}