mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
get_makepkg_env(): filter out CI variables
This commit is contained in:
parent
6917347219
commit
b13b00e85b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ pacman_cmd = [
|
|||
def get_makepkg_env():
|
||||
# has to be a function because calls to `config` must be done after config file was read
|
||||
threads = config.file['build']['threads'] or multiprocessing.cpu_count()
|
||||
return os.environ.copy() | {
|
||||
return {key: val for key, val in os.environ.items() if not key.split('_', maxsplit=1)[0] in ['CI', 'GITLAB', 'FF']} | {
|
||||
'LANG': 'C',
|
||||
'CARGO_BUILD_JOBS': str(threads),
|
||||
'MAKEFLAGS': f"-j{threads}",
|
||||
|
|
Loading…
Add table
Reference in a new issue