Skip to content

Commit

Permalink
remove trace
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminBrienen committed Nov 8, 2024
1 parent 0f48a2f commit b9dbecc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 24 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,22 +244,16 @@ jobs:
- name: Build
# this uses the same command as when running the example to ensure build is reused
run: |
TRACE_CHROME=trace-all_tuples.json CI_TESTING_CONFIG=.github/example-run/all_tuples.ron cargo build --example all_tuples
CI_TESTING_CONFIG=.github/example-run/all_tuples.ron cargo build --example all_tuples
- name: Run examples
run: |
for example in .github/example-run/*.ron; do
example_name=`basename $example .ron`
echo -n $example_name > last_example_run
echo "running $example_name - "`date`
time TRACE_CHROME=trace-$example_name.json CI_TESTING_CONFIG=$example cargo run --example $example_name
time CI_TESTING_CONFIG=$example cargo run --example $example_name
sleep 10
done
mkdir traces && mv trace*.json traces/
- name: Save traces
uses: actions/upload-artifact@v4
with:
name: example-traces-macos
path: traces
- name: Save PR number
if: ${{ github.event_name == 'pull_request' }}
run: |
Expand Down
20 changes: 4 additions & 16 deletions .github/workflows/validation-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,16 @@ jobs:
- name: Build
# this uses the same command as when running the example to ensure build is reused
run: |
TRACE_CHROME=trace-all_tuples.json CI_TESTING_CONFIG=.github/example-run/all_tuples.ron cargo build --example all_tuples
CI_TESTING_CONFIG=.github/example-run/all_tuples.ron cargo build --example all_tuples
- name: Run examples
run: |
for example in .github/example-run/*.ron; do
example_name=`basename $example .ron`
echo -n $example_name > last_example_run
echo "running $example_name - "`date`
time TRACE_CHROME=trace-$example_name.json CI_TESTING_CONFIG=$example cargo run --example $example_name
time CI_TESTING_CONFIG=$example cargo run --example $example_name
sleep 10
done
mkdir traces && mv trace*.json traces/
- name: save traces
uses: actions/upload-artifact@v4
with:
name: example-traces-linux
path: traces
- uses: actions/upload-artifact@v4
if: ${{ failure() && github.event_name == 'pull_request' }}
with:
Expand All @@ -101,23 +95,17 @@ jobs:
shell: bash
# this uses the same command as when running the example to ensure build is reused
run: |
TRACE_CHROME=trace-all_tuples.json CI_TESTING_CONFIG=.github/example-run/all_tuples.ron cargo build --example all_tuples
CI_TESTING_CONFIG=.github/example-run/all_tuples.ron cargo build --example all_tuples
- name: Run examples
shell: bash
run: |
for example in .github/example-run/*.ron; do
example_name=`basename $example .ron`
echo -n $example_name > last_example_run
echo "running $example_name - "`date`
time TRACE_CHROME=trace-$example_name.json CI_TESTING_CONFIG=$example cargo run --example $example_name
time CI_TESTING_CONFIG=$example cargo run --example $example_name
sleep 10
done
mkdir traces && mv trace*.json traces/
- name: save traces
uses: actions/upload-artifact@v4
with:
name: example-traces-windows
path: traces
- uses: actions/upload-artifact@v4
if: ${{ failure() && github.event_name == 'pull_request' }}
with:
Expand Down

0 comments on commit b9dbecc

Please sign in to comment.