CI: remove build parallel

This commit is contained in:
2024-07-14 22:34:25 +02:00
parent 6c25a0b324
commit 8520290a13
3 changed files with 6 additions and 14 deletions

View File

@@ -8,7 +8,6 @@ on:
env:
BUILD_TYPE: Debug
BUILD_PARALLEL: 3
jobs:
build-generic-toolchain:
@@ -118,7 +117,7 @@ jobs:
- name: Build iso
# Build your program with the given configuration
run: source ${{github.workspace}}/env.sh && cmake --build ${{github.workspace}}/build --target iso --config ${{env.BUILD_TYPE}} --parallel ${{env.BUILD_PARALLEL}}
run: source ${{github.workspace}}/env.sh && cmake --build ${{github.workspace}}/build --target iso --config ${{env.BUILD_TYPE}} --parallel $(nproc)
- name: Upload isos
uses: actions/upload-artifact@v3

View File

@@ -2,15 +2,14 @@ name: Unit tests
on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug
TEST_MODE: UNIT
BUILD_PARALLEL: 3
jobs:
build:
@@ -35,7 +34,7 @@ jobs:
- name: Build
# Build your program with the given configuration
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel ${{env.BUILD_PARALLEL}}
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}} --parallel $(nproc)
- name: Test
# Execute tests defined by the CMake configuration.

View File

@@ -8,12 +8,6 @@ export PREFIX="$FICUS_ROOT/toolchain/gcc-x86_64-ficus-prefix/"
export TARGET=x86_64-ficus
export PATH="$PREFIX/bin:$PATH"
if [ -z "${BUILD_PARALLEL}" ]
then
if [ -z "${BUILD_PARALLEL}" ]; then
export BUILD_PARALLEL=$(nproc)
fi
if [ -z "${BUILD_PARALLEL}" ]
then
export BUILD_PARALLEL=$BUILD_PARALLEL
fi