Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fixed unit test warnings and runtime warnings in other areas #58

Fixed unit test warnings and runtime warnings in other areas

Fixed unit test warnings and runtime warnings in other areas #58

Workflow file for this run

name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-and-test:
name: Build and Test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: cmake --build build --config Debug
- name: Check Bindings (Ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
./build/src/tools/gen_bindings include/concordia.h go > go/consts.go.tmp
diff go/consts.go go/consts.go.tmp || (echo "go/consts.go is out of date. Please run gen_bindings." && exit 1)
rm go/consts.go.tmp
- name: Run Tests (Unix)
if: runner.os != 'Windows'
run: ./build/tests/test_runner
- name: Run Tests (Windows)
if: runner.os == 'Windows'
run: .\build\tests\Debug\test_runner.exe