Skip to content

Commit

Permalink
add integration tests support in ci/cd
Browse files Browse the repository at this point in the history
  • Loading branch information
Chyzh committed Feb 29, 2024
1 parent b71e8b5 commit 31751a9
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name: CMake on multiple platforms

on:
push:
branches: [ "master" ]
branches: [ "master", "feature/integration_tests_ci_cd"]
pull_request:
branches: [ "master" ]

Expand Down Expand Up @@ -83,3 +83,16 @@ jobs:
shell: cmd
run: .\testbpatch.exe

- name: Integration Tests on Ubuntu
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
if: matrix.os=='ubuntu-latest'
run: ./IntegrationTests/in_tests.sh ${{ steps.strings.outputs.build-output-dir }}/bpatch

- name: Integration Tests on Windows
# Execute tests defined by the CMake configuration. Note that --build-config is needed because the default Windows generator is a multi-config generator (Visual Studio generator).
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
if: matrix.os=='windows-latest'
shell: cmd
run: ./IntegrationTests/in_tests.cmd ${{ steps.strings.outputs.build-output-dir }}/${{ matrix.build_type }}/bpatch.exe

0 comments on commit 31751a9

Please sign in to comment.