Skip to content

Commit

Permalink
add build of specific targets in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliom authored Jul 23, 2024
1 parent 3653a96 commit 1076eac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Build
working-directory: ${{github.workspace}}/BasicRenderer
# 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}} --target BasicRenderer

test:
name: test
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Build
working-directory: ${{github.workspace}}/BasicRenderer
# 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}} --target BasicRendererTest

- name: Test
working-directory: ${{github.workspace}}/build
Expand Down

0 comments on commit 1076eac

Please sign in to comment.