Skip to content

Commit

Permalink
[hotfix] Run single core when building with GCC (#606)
Browse files Browse the repository at this point in the history
* Run single core when building with GCC

Signed-off-by: Uilian Ries <[email protected]>

* Add GCC 12

Signed-off-by: Uilian Ries <[email protected]>

* update ci names with compilers

Signed-off-by: Uilian Ries <[email protected]>

* do not build tests for gcc12

Signed-off-by: Uilian Ries <[email protected]>

* fix ci names

Signed-off-by: Uilian Ries <[email protected]>

* parallel 1 for gcc12

Signed-off-by: Uilian Ries <[email protected]>

* ignore failure for GCC12

Signed-off-by: Uilian Ries <[email protected]>

* Mark as skipped

Signed-off-by: Uilian Ries <[email protected]>

* trigger CI

Signed-off-by: Uilian Ries <[email protected]>

---------

Signed-off-by: Uilian Ries <[email protected]>
  • Loading branch information
uilianries authored May 30, 2024
1 parent 77bd4a1 commit 88b1edf
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/linux-clang-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
build:
name: ci-ubuntu-24.04-clang-18
runs-on: ubuntu-24.04

steps:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/linux-conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ env:

jobs:
conan:
name: ci-ubuntu-24.04-gcc13-conan
runs-on: ubuntu-24.04
steps:
- name: Checkout
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/linux-gcc12-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: gcc12

on:
push:
branches:
- 'main'
workflow_dispatch:
pull_request:

jobs:
build:
name: ci-ubuntu-24.04-gcc-12
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive

- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@master

- name: Configure CMake
run: |
cmake -S . --preset=unixlike-gcc-release \
-DCMAKE_C_COMPILER=gcc-12 \
-DCMAKE_CXX_COMPILER=g++-12 \
-DBUILD_TESTING:BOOL=OFF
- name: Build
continue-on-error: true
run: |
cmake --build --preset=unixlike-gcc-release
if [ $? -ne 0 ]; then
echo "::warning::Build failed due out-of-memory error, marking job as skipped"
echo "::set-output name=skipped::true"
fi
1 change: 0 additions & 1 deletion .github/workflows/linux-gxx-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
gcc_version:
- 12
- 13
steps:
- name: Checkout
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/macos-clang-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
build:
runs-on: macos-14
name: ci-macos-14-apple-clang-15

steps:
- name: Install clang
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/windows-msvc-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

jobs:
build:
name: ci-windows-msvc-19
runs-on: windows-latest

steps:
Expand Down

0 comments on commit 88b1edf

Please sign in to comment.