Time #4
This file contains 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
name: Time | |
on: | |
workflow_dispatch: | |
jobs: | |
cargo-run: | |
runs-on: self-hosted | |
env: | |
NPCORE_CONFIG_TUI: false # Disable TUI | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Run | |
run: | | |
/usr/bin/time -v cargo run --release --example bimodal_ke 2>&1 | tee time-output.txt # Redirect output to a file | |
- name: Results | |
run: cat time-output.txt # Print the content of the file |