-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Below you will find expected outputs and how-to guides for the following workflow scripts
-
compile-examples
-
clang-format
...
Basic Command
py compile_examples.py --dependency-report 'file_name.md'
Additional Commands
py compile_examples.py --help'
Initial check and successful compilations.
Dependency Warning
Failure report
Generating a dependency report
Basic Command
To fix
py run-clang-format.py -i . OR --fix
To report
py run-clang-format.py -r .
Detailed Command
py run-clang-format.py --help
Initial check and successful compilations.
Running a workflow file locally can be easy but you'll need a few things.
- Install
Docker Destop
https://docs.docker.com/desktop/setup/install/windows-install/
- Checkout workflow from
https://github.com/OPEnSLab-OSU/ci-loom
- Install
act
Then,
Ensure you have Docker Desktop running and test act using act --list in your projects directory.
You should see a list of available workflows
If you don't see a list ensure you have checked out the workflows and are in the right directory.
Next, run a workflow using act workflow_dispatch -j 'job'
e.g. act workflow dispatch -j clang_format
Note: The compile-examples workflow checks out the current board-package when testing locally. It is best used as a script or with GitHub Actions.