workflow: + build xo-simulator (wip - broken)
This commit is contained in:
parent
3817677fc8
commit
4693064fd3
1 changed files with 30 additions and 1 deletions
31
.github/workflows/main.yml
vendored
31
.github/workflows/main.yml
vendored
|
|
@ -24,7 +24,8 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
echo "::group::install catch2"
|
||||
# install catch2. see [[https://stackoverflow.com/questions/57982945/how-to-apt-get-install-in-a-github-actions-workflow]]
|
||||
# install catch2. see
|
||||
# [[https://stackoverflow.com/questions/57982945/how-to-apt-get-install-in-a-github-actions-workflow]]
|
||||
sudo apt-get install -y catch2
|
||||
echo "::endgroup"
|
||||
|
||||
|
|
@ -54,8 +55,36 @@ jobs:
|
|||
cmake --install ${{github.workspace}}/build_xo-cmake
|
||||
echo "::endgroup"
|
||||
|
||||
echo "::group::local dir tree"
|
||||
tree ${{github.workspace}}/local
|
||||
echo "::endgroup"
|
||||
|
||||
# ----------------------------------------------------------------
|
||||
|
||||
- name: clone xo-simulator
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
repository: Rconybea/xo-simulator
|
||||
path: repo/xo-simulator
|
||||
|
||||
- name: build xo-simulator
|
||||
run: |
|
||||
echo "::group::configure xo-simulator
|
||||
cmake -B ${{github.workspace}}/build_xo-simulator -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local repo/xo-simulator
|
||||
echo "::endgroup"
|
||||
|
||||
echo "::group::compile xo-simulator"
|
||||
cmake --build ${{github.workspace}}/build_xo-simulator --config ${{env.BUILD_TYPE}}
|
||||
echo "::endgroup"
|
||||
|
||||
echo "::group::local install xo-simulator";
|
||||
cmake --install ${{github.workspace}}/build_xo-simulator
|
||||
echo "::endgroup"
|
||||
|
||||
echo "::group::local dir tree"
|
||||
tree ${{github.workspace}//local
|
||||
echo "::endgroup"
|
||||
|
||||
- name: Configure self (pysimulator)
|
||||
# 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