Skip to content

Commit

Permalink
ex14: fix yaml syntax for CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Rconybea committed Dec 19, 2023
1 parent b411119 commit 310c28b
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/ex14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,31 @@ jobs:
name: compile ex14 artifacts + run unit tests
runs-on: ubuntu-latest

# filesystem tree on runner
#
# ${{github.workspace}}
# +- repo
# | \- cmake-examples # source tree
# \- build
# \- cmake_examples # build location
#
steps:
- name: checkout cmake-examples source
# see https://github.com/actions/checkout for latest

uses: actions/checkout@v3
with:
ref: ex14
path: repo/cmake-examples

- name: prepare build directory
run: mkdir -p build/cmake-examples

- name: configure cmake-examples
run: cmake -B ${{github.workspace}}/build/cmake-examples -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local repo/cmake-examples

- name: build cmake-examples
run: cmake --build ${{github.workspace}}/build/cmake-examples --config ${{env.BUILD_TYPE}}

- name: install cmake-examples
run: cmake --install ${{github.workspace}}/build/cmake-examples
# filesystem tree on runner
#
# ${{github.workspace}}
# +- repo
# | \- cmake-examples # source tree
# \- build
# \- cmake_examples # build location
#
steps:
- name: checkout cmake-examples source
# see https://github.com/actions/checkout for latest

uses: actions/checkout@v3
with:
ref: ex14
path: repo/cmake-examples

- name: prepare build directory
run: mkdir -p build/cmake-examples

- name: configure cmake-examples
run: cmake -B ${{github.workspace}}/build/cmake-examples -DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local repo/cmake-examples

- name: build cmake-examples
run: cmake --build ${{github.workspace}}/build/cmake-examples --config ${{env.BUILD_TYPE}}

- name: install cmake-examples
run: cmake --install ${{github.workspace}}/build/cmake-examples

0 comments on commit 310c28b

Please sign in to comment.