Skip to content

Commit 9f9f111

Browse files
committed
Try debug test
1 parent b69800a commit 9f9f111

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

.github/workflows/ci.yml

+11-13
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,6 @@ jobs:
104104
with:
105105
fetch-depth: 2
106106

107-
- run: Set-MpPreference -DisableRealtimeMonitoring $true
108-
shell: powershell
109-
- run: Get-MpComputerStatus
110-
shell: powershell
111-
112107
# Rust Log Analyzer can't currently detect the PR number of a GitHub
113108
# Actions build on its own, so a hint in the log message is needed to
114109
# point it in the right direction.
@@ -127,8 +122,8 @@ jobs:
127122
# which then uses log commands to actually set them.
128123
EXTRA_VARIABLES: ${{ toJson(matrix.env) }}
129124

130-
- name: ensure the channel matches the target branch
131-
run: src/ci/scripts/verify-channel.sh
125+
# - name: ensure the channel matches the target branch
126+
# run: src/ci/scripts/verify-channel.sh
132127

133128
# - name: collect CPU statistics
134129
# run: src/ci/scripts/collect-cpu-stats.sh
@@ -192,12 +187,15 @@ jobs:
192187
unzip -d handle Handle.zip
193188
echo "$PWD/handle" >> $GITHUB_PATH
194189
195-
- name: run the build
196-
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
197-
run: src/ci/scripts/run-build-from-ci.sh 2>&1
198-
env:
199-
AWS_ACCESS_KEY_ID: ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
200-
AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}
190+
- name: Debug
191+
run: src/ci/eric.sh
192+
193+
# - name: run the build
194+
# # Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
195+
# run: src/ci/scripts/run-build-from-ci.sh 2>&1
196+
# env:
197+
# AWS_ACCESS_KEY_ID: ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
198+
# AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}
201199

202200
- name: Windows debug
203201
if: failure()

src/ci/eric.sh

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#!/bin/bash
2+
3+
set -ex
4+
5+
rustup install nightly --profile=minimal
6+
7+
cd src/tools/cargo
8+
9+
for run in {1..100}; do
10+
touch src/bin/cargo/main.rs
11+
cargo +nightly run
12+
done
13+
14+
for run in {1..100}; do
15+
touch src/bin/cargo/main.rs
16+
cargo +nightly run -r
17+
done

src/ci/github-actions/jobs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runners:
2525
<<: *base-job
2626

2727
- &job-windows-8c
28-
os: windows-2022
28+
os: windows-2022-8core-32gb
2929
<<: *base-job
3030

3131
- &job-windows-16c

0 commit comments

Comments
 (0)