github: + xo-simulator dep
This commit is contained in:
parent
dc723b7ce3
commit
6cb78eeb2f
2 changed files with 20 additions and 1 deletions
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
|
|
@ -215,6 +215,25 @@ jobs:
|
|||
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
- name: Clone simulator
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: Rconybea/xo-simulator
|
||||
path: repo/simulator
|
||||
|
||||
- name: Configure simulator
|
||||
# configure cmake for simulator in dedicated build directory.
|
||||
run: cmake -B ${{github.workspace}}/build_simulator -DCMAKE_MODULE_PATH=${{github.workspace}}/local/share/cmake -DCMAKE_PREFIX_PATH=${{github.workspace}}/local -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local repo/simulator
|
||||
|
||||
- name: Build simulator
|
||||
run: cmake --build ${{github.workspace}}/build_simulator --config ${{env.BUILD_TYPE}}
|
||||
|
||||
- name: Install simulator
|
||||
# install into ${{github.workspace}}/local
|
||||
run: cmake --install ${{github.workspace}}/build_simulator
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
- name: Configure self (process)
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue