From 53a540d1c5e3559f22d7b3e375a777155c1254c4 Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Sat, 23 Jul 2022 15:17:46 +0300 Subject: [PATCH] ci: Disable parallel build on Ubuntu to prevent oom It seems release build ooms on gcc for whatever reason. --- .github/workflows/release.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0f931ded..f1e893f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,13 +19,14 @@ jobs: name: "Windows Latest MSVC", os: windows-latest, cc: "cl", cxx: "cl", - build_params: "--config Release", + build_params: "--parallel --config Release", artifact_prefix: "win" } - { name: "Ubuntu Latest GCC", os: ubuntu-latest, cc: "gcc", cxx: "g++", + # Build is not parallel because gcc seem to run out of memory build_params: "", artifact_prefix: "linux" } @@ -33,7 +34,7 @@ jobs: name: "macOS Latest Clang", os: macos-latest, cc: "clang", cxx: "clang++", - build_params: "", + build_params: "--parallel", artifact_prefix: "macos", } @@ -65,7 +66,7 @@ jobs: - name: Build run: | - cmake --build ${{runner.workspace}}/build ${{matrix.config.build_params}} --parallel + cmake --build ${{runner.workspace}}/build ${{matrix.config.build_params}} - name: Run tests env: