mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-26 23:36:32 -04:00
Add Posix build checker to git actions (#489)
* Add Posix build checker to git actions * fix checker path * Fix script, checkout recursively * fix build check script return value * clone submodules as well with posix checker * Add quotes to true for submodules * Fix Submodules * Remove pcap dependency from Makefile * install libpcap for build check * Add networking build to posix * Separate network build from normal build * add libpcap after building normal posix
This commit is contained in:
parent
36fd2c8d8c
commit
47d37354bc
4 changed files with 68 additions and 1 deletions
19
.github/workflows/core-checks.yml
vendored
19
.github/workflows/core-checks.yml
vendored
|
|
@ -43,4 +43,23 @@ jobs:
|
|||
export PYTHONPATH=tools/.github/scripts:${PYTHONPATH}
|
||||
.github/scripts/core_checker.py --json ${HOME}/files_modified.json ${HOME}/files_added.json ${HOME}/files_renamed.json
|
||||
exit $?
|
||||
build-checker:
|
||||
name: FreeRTOS Posix Build Check
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clone This Repo
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
path: ./workspace
|
||||
submodules: 'recursive'
|
||||
fetch-depth: 1
|
||||
- name: Posix Build Checker
|
||||
run: |
|
||||
bash workspace/.github/scripts/posix_build_checker.sh workspace
|
||||
- name: Install lib pcap dev
|
||||
run: |
|
||||
sudo apt-get install libpcap-dev
|
||||
- name: Posix Network Build Checker
|
||||
run: |
|
||||
bash workspace/.github/scripts/posix_network_build_checker.sh workspace
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue