-
-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hotfix] Run single core when building with GCC (#606)
* 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
1 parent
77bd4a1
commit 88b1edf
Showing
6 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ on: | |
|
||
jobs: | ||
build: | ||
name: ci-ubuntu-24.04-clang-18 | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ env: | |
|
||
jobs: | ||
conan: | ||
name: ci-ubuntu-24.04-gcc13-conan | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ jobs: | |
strategy: | ||
matrix: | ||
gcc_version: | ||
- 12 | ||
- 13 | ||
steps: | ||
- name: Checkout | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ on: | |
jobs: | ||
build: | ||
runs-on: macos-14 | ||
name: ci-macos-14-apple-clang-15 | ||
|
||
steps: | ||
- name: Install clang | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ on: | |
|
||
jobs: | ||
build: | ||
name: ci-windows-msvc-19 | ||
runs-on: windows-latest | ||
|
||
steps: | ||
|