From 5dc5cedefe7c287b41ad1ae0f8cb2b5b7d60b245 Mon Sep 17 00:00:00 2001 From: Paul Bartell Date: Mon, 22 Mar 2021 17:09:51 -0700 Subject: [PATCH] Run posix build action when new commits are pushed to the FreeRTOS/Kernel repository --- .github/workflows/kernel-checks.yml | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) diff --git a/.github/workflows/kernel-checks.yml b/.github/workflows/kernel-checks.yml index df2563e98..e17276048 100644 --- a/.github/workflows/kernel-checks.yml +++ b/.github/workflows/kernel-checks.yml @@ -1,6 +1,6 @@ name: Kernel-Checker -on: [pull_request] +on: [push, pull_request] jobs: kernel-checker: @@ -45,3 +45,28 @@ jobs: cd inspect .github/scripts/kernel_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: Checkout the parent repository + uses: actions/checkout@v2 + with: + ref: master + repository: FreeRTOS/FreeRTOS + submodules: 'recursive' + fetch-depth: 1 + path: ./workspace + - name: Checkout the current repository + uses: actions/checkout@v2 + with: + path: ./workspace/FreeRTOS/Source + - 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