Skip to content

Commit 63a42ee

Browse files
committed
Remove .github modifications
1 parent fde7389 commit 63a42ee

8 files changed

Lines changed: 670 additions & 261 deletions

File tree

.github/workflows/ci-failure-scan.lock.yml

Lines changed: 21 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/ci-failure-scan.md

Lines changed: 290 additions & 241 deletions
Large diffs are not rendered by default.

.github/workflows/code-review.lock.yml

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/code-review.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ safe-outputs:
3030

3131
on:
3232
pull_request:
33-
branches: [ main ]
3433
types: [opened, synchronize]
3534

3635
# ###############################################################

bxl.sh

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
# ./bxl.sh test [extra-bxl-args...] — compile and run tests
77
set -euo pipefail
88

9+
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")"; pwd -P)"
10+
911
if [[ $# -eq 0 ]]; then
1012
echo "Usage: ./bxl.sh <command> [args...]" >&2
1113
echo "Commands:" >&2
@@ -19,17 +21,21 @@ shift
1921

2022
case "$command" in
2123
build)
22-
filter="/f:~(tag='bxl-kind:binary')and~(tag='bxl-kind:test')"
24+
filter_expression="~(tag='bxl-kind:binary')and~(tag='bxl-kind:test')"
2325
;;
2426
test)
25-
filter="/f:tag='bxl-kind:test'"
27+
filter_expression="tag='bxl-kind:test'"
2628
;;
2729
*)
2830
echo "ERROR: unknown command '$command'. Use 'build' or 'test'." >&2
2931
exit 1
3032
;;
3133
esac
3234

35+
if [[ -n "${BXL_FILTER_APPEND:-}" ]]; then
36+
filter_expression="(${filter_expression})and(${BXL_FILTER_APPEND})"
37+
fi
38+
3339
default_bxl="$(command -v bxl || true)"
3440
if [[ -z "$default_bxl" ]]; then
3541
default_bxl="$HOME/code/BuildXL/Out/BootStrap/Microsoft.BuildXL.linux-x64.0.1.0-20260501.5/bxl"
@@ -73,12 +79,14 @@ fi
7379

7480
export BUILDXL_BIN
7581

82+
cd "$script_dir"
83+
7684
exec "$BXL" \
77-
/c:config.dsc \
85+
"/c:${script_dir}/config.dsc" \
7886
/server- \
7987
/unsafe_DisableDetours+ \
8088
/enableLinuxEBPFSandbox- \
8189
/cacheDirectory:"$CACHE_DIR" \
8290
/logOutput:FullOutputOnError \
83-
"$filter" \
91+
"/f:${filter_expression}" \
8492
"$@"

defs/defs.dsc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,13 @@ export const XUNIT_RUNTIME_DEPS: File[] = [
101101
EXTERNAL_PACKAGES.get("xunit.abstractions").assertExistence(r`lib/netstandard1.0/xunit.abstractions.dll`),
102102
];
103103

104-
// CORE_ROOT paths used by BuildXL-backed CoreCLR test execution
104+
// CORE_ROOT paths used by BuildXL-backed CoreCLR test execution.
105+
// Match the normal CoreCLR test flow: Checked runtime + Release libraries.
105106
// ============================================================================
106107

107108
@@public
108109
export const CORE_ROOT_DIR: Directory =
109-
d`${Context.getMount("SourceRoot").path}/artifacts/tests/coreclr/linux.x64.Release/Tests/Core_Root`;
110+
d`${Context.getMount("SourceRoot").path}/artifacts/tests/coreclr/linux.x64.Checked/Tests/Core_Root`;
110111

111112
@@public
112113
export const CORE_ROOT_CORERUN: File =

0 commit comments

Comments
 (0)