Skip to content

Fix(FlagsOf): Required conversion after compute #121

Fix(FlagsOf): Required conversion after compute

Fix(FlagsOf): Required conversion after compute #121

Workflow file for this run

name: CMake-Tests
on: push
jobs:
windows:
name: "Windows"
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- os: windows-2019
preset: "msvc"
- os: windows-2022
preset: "msvc"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup CMake & Ninja
uses: lukka/get-cmake@latest
- name: Install Tools Ninja and mvsc
uses: ilammy/msvc-dev-cmd@v1
- name: Build and Test Debug
env:
GTEST_OUTPUT: xml:${{ github.workspace }}\reports\debug\
run: script/test_cmake.bat ${{ matrix.preset }} debug
- name: Build and Test Release
env:
GTEST_OUTPUT: xml:${{ github.workspace }}\reports\release\
run: script/test_cmake.bat ${{ matrix.preset }} release
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: ${{ matrix.os }} Tests
path: reports/**/*.xml
reporter: java-junit
linux:
name: "Linux"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- image: "arbmind/cmake-clang:3.25.1-14"
preset: "clang"
- image: "arbmind/cmake-clang:3.27.6-17"
preset: "clang"
- image: "arbmind/cmake-clang-libstdcpp:3.25.1-15-12"
preset: "clang-libstdcpp"
- image: "arbmind/cmake-gcc:3.25.1-11"
preset: "gcc"
- image: "arbmind/cmake-gcc:3.25.1-12"
preset: "gcc"
- image: "arbmind/cmake-gcc:3.27.6-13"
preset: "gcc"
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build and Test Debug
run: >-
docker run --rm -v ${GITHUB_WORKSPACE}:/project -w /project
--env GTEST_OUTPUT=xml:/project/reports/debug/
${{ matrix.image }}
script/test_cmake.sh ${{ matrix.preset }} debug
- name: Build and Test Release
run: >-
docker run --rm -v ${GITHUB_WORKSPACE}:/project -w /project
--env GTEST_OUTPUT=xml:/project/reports/release/
${{ matrix.image }}
script/test_cmake.sh ${{ matrix.preset }} release
- run: >-
ls -la reports/*
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
with:
name: ${{ matrix.image }} Tests
path: reports/**/*.xml
reporter: java-junit