Skip to content

Commit

Permalink
fix: disable test coverage on windows ci builds
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstenko committed Mar 8, 2023
1 parent d6ca5e4 commit 26e3915
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ AlwaysBreakTemplateDeclarations: No
BreakBeforeBraces: Attach
ColumnLimit: 100
ConstructorInitializerAllOnOneLineOrOnePerLine: true
IncludeBlocks: Regroup
IncludeBlocks: Merge
IndentPPDirectives: AfterHash
IndentWidth: 2
NamespaceIndentation: All
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}

- name: Configure CMake
run: cmake -Bbuild -H. -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_EDITOR=ON
run: cmake -Bbuild -H. -DCMAKE_BUILD_TYPE=MinSizeRel

- name: Build
run: cmake --build build/ --parallel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
sudo apt install -y build-essential cmake mesa-common-dev libgl1-mesa-dev libx11-dev mesa-common-dev mesa-utils libgl-dev python3-distutils libgl1-mesa-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
- name: configure
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DENABLE_TEST_COVERAGE=ON
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DENABLE_TEST_COVERAGE=OFF

- name: build
run: cmake --build build --parallel --config MinSizeRel
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:

- name: Configure CMake
shell: cmd
run: cmake -H. -Bbuild -G "Visual Studio 17 2022" -T ClangCL -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_EDITOR=ON
run: cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=MinSizeRel -DENABLE_TEST_COVERAGE=OFF

- name: Build
shell: cmd
Expand Down
2 changes: 1 addition & 1 deletion scripts/emscripten-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ cmake --version

emcmake cmake --version

emcmake cmake -DCMAKE_C_ABI_COMPILED=ON -DCMAKE_CXX_ABI_COMPILED=ON -DEMSCRIPTEN=1 -DCMAKE_BUILD_TYPE=MinSizeRel -H. -Bbin-emscripten -DBUILD_EDITOR=ON
emcmake cmake -DCMAKE_C_ABI_COMPILED=ON -DCMAKE_CXX_ABI_COMPILED=ON -DEMSCRIPTEN=1 -DCMAKE_BUILD_TYPE=MinSizeRel -H. -Bbin-emscripten

cmake --build bin-emscripten/ --parallel
2 changes: 1 addition & 1 deletion scripts/windows-build.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cmake -H. -Bbuild -G "Visual Studio 16 2019" -T ClangCL -DCMAKE_BUILD_TYPE=MinSizeRel -DBUILD_EDITOR=ON
cmake -H. -Bbuild -G "Visual Studio 16 2019" -T ClangCL -DCMAKE_BUILD_TYPE=MinSizeRel
cmake --build build --config MinSizeRel

0 comments on commit 26e3915

Please sign in to comment.