Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixup! tools: share CI and benchmark build configuration
  • Loading branch information
panva committed Sep 28, 2026
commit b6cf7d8ccaf73c8bb901a755e450e3f47957c76c
6 changes: 0 additions & 6 deletions .github/workflows/build-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ on:
required: false
type: boolean
default: false
with-perfetto:
description: Whether to enable Perfetto
required: false
type: boolean
default: false
v8-nar:
description: An optional name for the NAR archive for V8 that needs to be downloaded
required: false
Expand Down Expand Up @@ -90,7 +85,6 @@ jobs:
-I "nixpkgs=$TAR_DIR/tools/nix/pkgs.nix" \
--pure --keep TAR_DIR --keep FLAKY_TESTS \
--keep SCCACHE_GHA_ENABLED --keep ACTIONS_CACHE_SERVICE_V2 --keep ACTIONS_RESULTS_URL --keep ACTIONS_RUNTIME_TOKEN \
--arg withPerfetto ${{ inputs.with-perfetto }} \
--arg ccache "${NIX_SCCACHE:-null}" \
--arg pkcs11 ${{ inputs.pkcs11-store-test }} \
${{ inputs.extra-nix-flags }} \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ jobs:
with:
runner: ${{ matrix.runner }}
with-sccache: ${{ github.base_ref == 'main' || github.ref_name == 'main' }}
with-perfetto: ${{ matrix.perfetto || false }}
extra-nix-flags: ${{ matrix.perfetto && '--arg withPerfetto true' || '' }}
secrets:
CACHIX_AUTH_TOKEN: ${{ secrets.CACHIX_AUTH_TOKEN }}

Expand Down
25 changes: 14 additions & 11 deletions tools/nix/ci-shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,19 @@ import ../../shell.nix (
devTools = [ ];
benchmarkTools = [ ];
}
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
withAmaro = false;
withFFI = false;
withLief = false;
withSQLite = false;
withTemporal = false;
extraConfigFlags = [
"--without-inspector"
"--without-node-options"
];
}
// pkgs.lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (
# Disable optional features on Darwin for coverage and faster CI.
builtins.mapAttrs (n: v: false) (
pkgs.lib.filterAttrs (n: v: builtins.match "with[A-Z].+" n != null) (
builtins.functionArgs (import ../../shell.nix)
)
)
// {
Comment thread
panva marked this conversation as resolved.
Resolved
extraConfigFlags = [
"--without-inspector"
"--without-node-options"
];
}
)
// args
)
Loading