Skip to content

Merge pull request #3179 from ERGO-Code/fix-3171 #6198

Merge pull request #3179 from ERGO-Code/fix-3171

Merge pull request #3179 from ERGO-Code/fix-3171 #6198

name: test-csharp-win
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
fast_build_release:
runs-on: windows-2022
steps:
- uses: actions/checkout@v6
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCSHARP=ON
- name: Build
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake --build . --config Release --parallel
- name: Test
shell: bash
working-directory: ${{github.workspace}}/build
run: |
ls
./Release/bin/csharpexample.exe
fast_build_debug:
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: Create Build Environment
run: cmake -E make_directory ${{github.workspace}}/build
- name: Configure CMake
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake $GITHUB_WORKSPACE -DCSHARP=ON
- name: Build
shell: bash
working-directory: ${{github.workspace}}/build
run: cmake --build . --config Debug --parallel
- name: Test
shell: bash
working-directory: ${{github.workspace}}/build
run: |
ls
./Debug/bin/csharpexample.exe