Skip to content

Commit

Permalink
Try debug test
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Sep 2, 2024
1 parent b69800a commit 9f9f111
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 14 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ jobs:
with:
fetch-depth: 2

- run: Set-MpPreference -DisableRealtimeMonitoring $true
shell: powershell
- run: Get-MpComputerStatus
shell: powershell

# Rust Log Analyzer can't currently detect the PR number of a GitHub
# Actions build on its own, so a hint in the log message is needed to
# point it in the right direction.
Expand All @@ -127,8 +122,8 @@ jobs:
# which then uses log commands to actually set them.
EXTRA_VARIABLES: ${{ toJson(matrix.env) }}

- name: ensure the channel matches the target branch
run: src/ci/scripts/verify-channel.sh
# - name: ensure the channel matches the target branch
# run: src/ci/scripts/verify-channel.sh

# - name: collect CPU statistics
# run: src/ci/scripts/collect-cpu-stats.sh
Expand Down Expand Up @@ -192,12 +187,15 @@ jobs:
unzip -d handle Handle.zip
echo "$PWD/handle" >> $GITHUB_PATH
- name: run the build
# Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
run: src/ci/scripts/run-build-from-ci.sh 2>&1
env:
AWS_ACCESS_KEY_ID: ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}
- name: Debug
run: src/ci/eric.sh

# - name: run the build
# # Redirect stderr to stdout to avoid reordering the two streams in the GHA logs.
# run: src/ci/scripts/run-build-from-ci.sh 2>&1
# env:
# AWS_ACCESS_KEY_ID: ${{ env.CACHES_AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets[format('AWS_SECRET_ACCESS_KEY_{0}', env.CACHES_AWS_ACCESS_KEY_ID)] }}

- name: Windows debug
if: failure()
Expand Down
17 changes: 17 additions & 0 deletions src/ci/eric.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

set -ex

rustup install nightly --profile=minimal

cd src/tools/cargo

for run in {1..100}; do
touch src/bin/cargo/main.rs
cargo +nightly run
done

for run in {1..100}; do
touch src/bin/cargo/main.rs
cargo +nightly run -r
done
2 changes: 1 addition & 1 deletion src/ci/github-actions/jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ runners:
<<: *base-job

- &job-windows-8c
os: windows-2022
os: windows-2022-8core-32gb
<<: *base-job

- &job-windows-16c
Expand Down

0 comments on commit 9f9f111

Please sign in to comment.