README.md: fix exbootimage help #100
Workflow file for this run
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: Test mkbootimage | |
on: [push, pull_request] | |
jobs: | |
check-formatting: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get install --yes clang-format-12 | |
clang-format-12 --version | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Run formatting check | |
run: | | |
make format FMT=clang-format-12 | |
git diff --exit-code > formatting.log | |
if [ $? -ne 0 ]; then | |
echo The code formatting is not proper | |
exit 1 | |
fi | |
- name: Save diff | |
uses: actions/upload-artifact@v2 | |
with: | |
name: formatting | |
path: formatting.log | |
test-zynq-mkbootimage: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install dependencies | |
run: | | |
sudo apt-get install --yes libelf-dev | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build the project | |
run: | | |
make | |
test -f mkbootimage | |
- name: Run integration tests | |
run: make test | |
- name: Save logs | |
uses: actions/upload-artifact@v2 | |
with: | |
name: results | |
path: tests/results.log |