Skip to content

test: create test-compile.yml#140

Draft
dcreey wants to merge 10 commits intomainfrom
dcreey/test-rust-compile
Draft

test: create test-compile.yml#140
dcreey wants to merge 10 commits intomainfrom
dcreey/test-rust-compile

Conversation

@dcreey
Copy link
Copy Markdown
Contributor

@dcreey dcreey commented Jan 7, 2026

No description provided.

Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Comment thread .github/workflows/test-compile.yml Fixed
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Comment thread .github/workflows/test-compile.yml Fixed
dcreey added 2 commits January 7, 2026 14:05
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Comment thread .github/workflows/test-compile.yml Fixed
Signed-off-by: Dylan Yurgionas <dcreey@gmail.com>
Comment thread .github/workflows/test-compile.yml Fixed
dcreey added 4 commits January 8, 2026 11:54
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 thread .github/workflows/test-compile.yml Fixed
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

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants