Skip to content

Fix string conversion and many warnings #396

Fix string conversion and many warnings

Fix string conversion and many warnings #396

# .github/workflows/main.yaml
name: CMake on multiple platforms
on:
push:
branches: [ "master" ]
paths-ignore:
- '**/*.md'
- '*.md'
pull_request:
branches: [ "master" ]
paths-ignore:
- '**/*.md'
- '*.md'
jobs:
run-matrix:
name: Run CMake Build and Test Matrix
uses: ./.github/workflows/cmake_build_and_test.yml
strategy:
# Set fail-fast to false to ensure that feedback is delivered for all matrix combinations. Consider changing this to true when your workflow is stable.
fail-fast: false
# Set up a matrix to run the following 3 configurations:
# 1. <Windows, Release, latest MSVC compiler toolchain on the default runner image, default generator>
# 2. <Linux, Release, latest GCC compiler toolchain on the default runner image, default generator>
# 3. <Linux, Release, latest Clang compiler toolchain on the default runner image, default generator>
#
# To add more build types (Release, Debug, RelWithDebInfo, etc.) customize the build_type list.
matrix:
include:
- build_distro: windows-latest
build_os: windows
compiler: msvc
preset: tests
build_type: Release
- build_distro: windows-latest
build_os: windows
compiler: msvc
preset: tests
- build_distro: ubuntu-latest
build_os: linux
compiler: gcc
preset: benchmark
- build_distro: ubuntu-latest
build_os: linux
compiler: clang
stdlib: libcxx
preset: benchmark
- build_distro: ubuntu-latest
build_os: linux
compiler: gcc
preset: tests
- build_distro: ubuntu-latest
build_os: linux
compiler: gcc
preset: warnings
- build_distro: ubuntu-latest
build_os: linux
compiler: clang
preset: warnings
- build_distro: ubuntu-latest
build_os: linux
compiler: clang
preset: tests
- build_distro: ubuntu-latest
build_os: linux
compiler: gcc
preset: coverage
- build_distro: ubuntu-latest
build_os: linux
compiler: clang
preset: coverage
- build_distro: ubuntu-latest
build_os: linux
test_distro: windows-latest
test_os: windows
compiler: clangcl
preset: tests
- build_distro: ubuntu-latest
build_os: linux
test_distro: windows-latest
test_os: windows
compiler: clangcl
preset: tests
build_type: Release
with:
build_distro: ${{ matrix.build_distro }}
build_os: ${{ matrix.build_os }}
test_distro: ${{ matrix.test_distro || matrix.build_distro }}
test_os: ${{ matrix.test_os || matrix.build_os }}
compiler: ${{ matrix.compiler }}
stdlib: ${{ matrix.stdlib || matrix.compiler == 'msvc' && 'msvcstl' || matrix.compiler == 'clangcl' && 'msvcstl' || matrix.compiler == 'clang' && 'libcxx' || 'libstdcxx' }}
preset: ${{ matrix.preset }}
build_type: ${{ matrix.build_type || matrix.preset == 'benchmark' && 'Release' || 'Debug' }}
head_ref: ${{ github.event.pull_request.head.ref }}
base_ref: ${{ github.event.pull_request.base.ref }}
secrets: inherit