Skip to content

Use parallelization #129

@LecrisUT

Description

@LecrisUT

The action should set the following environment variables, especially when presets are used:

CMAKE_BUILD_PARALLEL_LEVEL: $(nproc)
CTEST_PARALLEL_LEVEL: $(nproc)

(effectively running cmake --build -j $(nproc) and ctest -j $(nproc))

These could be controlled by:

parallel: auto | none
build_parallel: ${parallel:-auto | none}
test_parallel: ${parallel:-auto | none}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions