Bound release build concurrency on shared runner
Some checks failed
Canary release / release (push) Failing after 50m40s
Some checks failed
Canary release / release (push) Failing after 50m40s
This commit is contained in:
parent
1afc431e67
commit
bdd77ee8e4
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ out=$(realpath -m "${2:?Output directory required}")
|
||||||
mkdir -p "$out"
|
mkdir -p "$out"
|
||||||
export TENSAMIN_CHANNEL=$channel ELECTRON_SKIP_BINARY_DOWNLOAD=1
|
export TENSAMIN_CHANNEL=$channel ELECTRON_SKIP_BINARY_DOWNLOAD=1
|
||||||
export TENSAMIN_ANDROID_VERSION_CODE=${RELEASE_SEQUENCE:?Release sequence required}
|
export TENSAMIN_ANDROID_VERSION_CODE=${RELEASE_SEQUENCE:?Release sequence required}
|
||||||
|
# The runner shares memory with production services. Bound concurrent builds.
|
||||||
|
export NIX_CONFIG="${NIX_CONFIG:-}
|
||||||
|
max-jobs = 1
|
||||||
|
cores = 2"
|
||||||
system=${3:-$(nix eval --impure --raw --expr 'builtins.currentSystem')}
|
system=${3:-$(nix eval --impure --raw --expr 'builtins.currentSystem')}
|
||||||
expr="import $root/scripts/release-env.nix { root = builtins.toPath \"$root\"; kind = \"packages\"; channel = \"$channel\"; system = \"$system\"; }"
|
expr="import $root/scripts/release-env.nix { root = builtins.toPath \"$root\"; kind = \"packages\"; channel = \"$channel\"; system = \"$system\"; }"
|
||||||
nix build --impure --no-link --expr "import $root/scripts/release-env.nix { root = builtins.toPath \"$root\"; kind = \"checks\"; system = \"$system\"; }"
|
nix build --impure --no-link --expr "import $root/scripts/release-env.nix { root = builtins.toPath \"$root\"; kind = \"checks\"; system = \"$system\"; }"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue