Draft
Conversation
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Comment on lines
+8
to
+46
| runs-on: 'ubuntu-latest' | ||
| steps: | ||
|
|
||
| - name: Check CPU usage before build | ||
| run: | | ||
| echo "CPU info:" | ||
| nproc | ||
| echo "Load average:" | ||
| uptime | ||
| shell: bash | ||
|
|
||
| - name: Check CPU usage before build | ||
| run: | | ||
| echo "CPU info:" | ||
| nproc | ||
| echo "Load average:" | ||
| uptime | ||
| shell: bash | ||
|
|
||
| - name: 'test compile rust' | ||
| shell: 'bash' | ||
| env: | ||
| CARGO_TARGET_DIR: '${{ runner.temp }}' | ||
| run: | | ||
| set -eux | ||
| sudo dpkg --add-architecture i386 | ||
| sudo apt-get update | ||
| sudo apt install cargo build-essential libudev-dev openssl libssl-dev linux-tools-common gcc-multilib libssl-dev:i386 \ | ||
| && cargo install probe-rs-tools --timings 2>&1 | tee output.txt | ||
| timings_file="$(cat output.txt | grep 'Timing report saved to ' | awk '{print $NF}')" | ||
| cat "${timings_file}" | ||
|
|
||
| - name: Check CPU usage before build | ||
| run: | | ||
| echo "CPU info:" | ||
| nproc | ||
| echo "Load average:" | ||
| uptime | ||
| shell: bash |
Check warning
Code scanning / CodeQL
Workflow does not contain permissions Medium test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.