From 61f94d92242866bb858327e9cff038e7d771bca2 Mon Sep 17 00:00:00 2001 From: David Coeurjolly Date: Tue, 10 Jan 2023 10:48:46 +0100 Subject: [PATCH] workflow --- .github/workflows/bots.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/bots.yml b/.github/workflows/bots.yml index c836eb3..a79f5b4 100644 --- a/.github/workflows/bots.yml +++ b/.github/workflows/bots.yml @@ -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}}