Skip to content

Commit

Permalink
ci: Disable parallel build on Ubuntu to prevent oom
Browse files Browse the repository at this point in the history
It seems release build ooms on gcc for whatever reason.
  • Loading branch information
werman committed Jul 23, 2022
1 parent 26d779e commit 53a540d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,22 @@ 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"
}
- {
name: "macOS Latest Clang",
os: macos-latest,
cc: "clang", cxx: "clang++",
build_params: "",
build_params: "--parallel",
artifact_prefix: "macos",
}

Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 53a540d

Please sign in to comment.