github: + pyreflect dep
This commit is contained in:
parent
c4ed2e7f22
commit
36e0129348
1 changed files with 19 additions and 0 deletions
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
|
|
@ -161,6 +161,25 @@ jobs:
|
|||
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
- name: Clone pyreflect
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: Rconybea/xo-pyreflect
|
||||
path: repo/pyreflect
|
||||
|
||||
- name: Configure pyreflect
|
||||
# configure cmake for pyreflect in dedicated build directory.
|
||||
run: cmake -B ${{github.workspace}}/build_pyreflect -DCMAKE_MODULE_PATH=${{github.workspace}}/local/share/cmake -DCMAKE_PREFIX_PATH=${{github.workspace}}/local -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local repo/pyreflect
|
||||
|
||||
- name: Build pyreflect
|
||||
run: cmake --build ${{github.workspace}}/build_pyreflect --config ${{env.BUILD_TYPE}}
|
||||
|
||||
- name: Install pyreflect
|
||||
# install into ${{github.workspace}}/local
|
||||
run: cmake --install ${{github.workspace}}/build_pyreflect
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
- name: Configure self (pyprintjson)
|
||||
# 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