diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index f3efac5..4eea37d 100644 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -24,7 +24,7 @@ jobs: # To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list. matrix: os: [ubuntu-latest, windows-latest] - build_type: [Release] + build_type: [Release, Debug] c_compiler: [gcc, clang, cl] include: - os: windows-latest @@ -50,7 +50,7 @@ jobs: - name: Set reusable strings # Turn repeated input strings (such as the build output directory) into step outputs. These step outputs can be used throughout the workflow file. id: strings - shell: bash + shell: bash run: | echo "build-output-dir=${{ github.workspace }}/build" >> "$GITHUB_OUTPUT" @@ -70,3 +70,8 @@ jobs: # Build your program with the given configuration. Note that --config is needed because the default Windows generator is a multi-config generator (Visual Studio generator). run: | cmake --build --preset "DEFAULT-DEV" --target "install_project" + + - name: Execute Test + working-directory: ${{ github.workspace }}/.out/install/DEFAULT-DEV/bin + run: | + ./app \ No newline at end of file