Skip to content

Commit

Permalink
Add badge
Browse files Browse the repository at this point in the history
  • Loading branch information
flba-eb committed Jun 20, 2024
1 parent 7367d2a commit 2af4af4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Example for automatically building for EB corbos Linux (EBcL) and testing on it
[![Main Branch CI example](https://github.com/flba-eb/ebcl_cicd_template/actions/workflows/main-ci.yml/badge.svg)](https://github.com/flba-eb/ebcl_cicd_template/actions/workflows/main-ci.yml)

## Notes

Expand All @@ -18,6 +19,6 @@ A container is created which contains a sysroot and image:
- Previously generated container is used
- It compiles for the target and runs tests on them
- Target is a QEMU image, simulating an aarch64 CPU
- Tests are executed on target using the script `scripts/run_on_targetr.sh`, which
- Tests are executed on target using the script [run_on_target.sh](scripts/run_on_target.sh), which
uploads the file and runs it.
- WARNING: It only executes one (small) unit test to reduce the disk usage. Standard Github action runners run out of space otherwise.
2 changes: 1 addition & 1 deletion scripts/run_on_target.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -e

scp "$1" target:/tmp/test/a/b/
ssh target "cd /tmp/test/a/b && ./$(basename $1)"
ssh target "cd /tmp/test/a/b && ./$(basename $1) ; ret=$? ; rm ./$(basename $1) ; exit $?"

0 comments on commit 2af4af4

Please sign in to comment.