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: env:
BUILD_TYPE: Debug BUILD_TYPE: Debug
BUILD_PARALLEL: 3
jobs: jobs:
build-generic-toolchain: build-generic-toolchain:
@@ -118,7 +117,7 @@ jobs:
- name: Build iso - name: Build iso
# Build your program with the given configuration # 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 - name: Upload isos
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3

View File

@@ -2,15 +2,14 @@ name: Unit tests
on: on:
push: push:
branches: [ "main" ] branches: ["main"]
pull_request: pull_request:
branches: [ "main" ] branches: ["main"]
env: env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Debug BUILD_TYPE: Debug
TEST_MODE: UNIT TEST_MODE: UNIT
BUILD_PARALLEL: 3
jobs: jobs:
build: build:
@@ -35,7 +34,7 @@ jobs:
- name: Build - name: Build
# Build your program with the given configuration # 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 - name: Test
# Execute tests defined by the CMake configuration. # Execute tests defined by the CMake configuration.

View File

@@ -1,19 +1,13 @@
#!/bin/bash #!/bin/bash
if [ -z "$FICUS_ROOT" ]; then if [ -z "$FICUS_ROOT" ]; then
echo "$FICUS_ROOT" is blank echo "$FICUS_ROOT" is blank
fi fi
export PREFIX="$FICUS_ROOT/toolchain/gcc-x86_64-ficus-prefix/" export PREFIX="$FICUS_ROOT/toolchain/gcc-x86_64-ficus-prefix/"
export TARGET=x86_64-ficus export TARGET=x86_64-ficus
export PATH="$PREFIX/bin:$PATH" export PATH="$PREFIX/bin:$PATH"
if [ -z "${BUILD_PARALLEL}" ] if [ -z "${BUILD_PARALLEL}" ]; then
then
export BUILD_PARALLEL=$(nproc) export BUILD_PARALLEL=$(nproc)
fi fi
if [ -z "${BUILD_PARALLEL}" ]
then
export BUILD_PARALLEL=$BUILD_PARALLEL
fi