Skip to content
Snippets Groups Projects
Unverified Commit b02793d7 authored by Andrews Cordolino Sobral's avatar Andrews Cordolino Sobral Committed by GitHub
Browse files

Update cmake.yml (#212)

* Update cmake.yml

* Update cmake.yml

* Update cmake.yml

* Update cmake.yml

* Update cmake.yml
parent e66fd8df
No related branches found
No related tags found
No related merge requests found
...@@ -21,14 +21,23 @@ jobs: ...@@ -21,14 +21,23 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Configure CMake - name: Compile C++ library
# Configure CMake in a 'build' subdirectory. `CMAKE_BUILD_TYPE` is only required if you are using a single-configuration generator such as make. # 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 # See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
# run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} # run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
run: cd ${{github.workspace}}/build && cmake .. run: cd build && cmake .. && make -j $(nproc)
- name: Build - name: Build and install the python wrapper
# Build your program with the given configuration # Build your program with the given configuration
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} # run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cd ${{github.workspace}}/build && make -j $(nproc) run: git config --global --add safe.directory /__w/bgslibrary/bgslibrary && git submodule update --init --recursive && python setup.py build && python setup.py install
- name: Compile the C++ QT User Interface
# Build your program with the given configuration
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cd gui/qt/build && cmake .. && make -j $(nproc)
- name: Compile examples
# Build your program with the given configuration
# run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cd examples/build && cmake .. && make -j $(nproc)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment