Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRTOS/FreeRTOS-Kernel.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>2023-01-16 12:36:18 +0300
committerGitHub <noreply@github.com>2023-01-16 12:36:18 +0300
commit8592fd23f4fbc1a2fa821a9b89b61ef1f5652a09 (patch)
treef9b90d9f35348fe5f7121ba31ad329ca4a102628 /.github
parentbb6071e1df3168a64dc2ce79de8aa91b7995ba23 (diff)
Update FreeRTOS/FreeRTOS build checks (#613)
This is needed to be compatible with the refactoring done in this PR - https://github.com/FreeRTOS/FreeRTOS/pull/889 Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/kernel-checks.yml25
-rw-r--r--.github/workflows/kernel-demos.yml173
2 files changed, 173 insertions, 25 deletions
diff --git a/.github/workflows/kernel-checks.yml b/.github/workflows/kernel-checks.yml
index 889a53e6c..b295033d2 100644
--- a/.github/workflows/kernel-checks.yml
+++ b/.github/workflows/kernel-checks.yml
@@ -45,28 +45,3 @@ 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: main
- 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
diff --git a/.github/workflows/kernel-demos.yml b/.github/workflows/kernel-demos.yml
new file mode 100644
index 000000000..d6eace575
--- /dev/null
+++ b/.github/workflows/kernel-demos.yml
@@ -0,0 +1,173 @@
+name: FreeRTOS-Kernel Demos
+on: [push, pull_request]
+
+jobs:
+ WIN32-MSVC:
+ name: WIN32 MSVC
+ runs-on: windows-latest
+ steps:
+ - name: Checkout the FreeRTOS/FreeRTOS Repository
+ uses: actions/checkout@v2
+ with:
+ ref: main
+ repository: FreeRTOS/FreeRTOS
+ submodules: 'recursive'
+ fetch-depth: 1
+
+ - name: Fetch Kernel Submodule
+ shell: bash
+ run: |
+ git submodule update --checkout --init --depth 1 FreeRTOS/Source
+
+ - name: Add msbuild to PATH
+ uses: microsoft/setup-msbuild@v1.1
+
+ - name: Build WIN32-MSVC Demo
+ working-directory: FreeRTOS/Demo/WIN32-MSVC
+ run: msbuild WIN32.sln -t:rebuild
+
+ - name: Build WIN32-MSVC-Static-Allocation-Only Demo
+ working-directory: FreeRTOS/Demo/WIN32-MSVC-Static-Allocation-Only
+ run: msbuild WIN32.sln -t:rebuild
+
+ WIN32-MingW:
+ name: WIN32 MingW
+ runs-on: windows-latest
+ steps:
+ - name: Checkout the FreeRTOS/FreeRTOS Repository
+ uses: actions/checkout@v2
+ with:
+ ref: main
+ repository: FreeRTOS/FreeRTOS
+ submodules: 'recursive'
+ fetch-depth: 1
+
+ - name: Fetch Kernel Submodule
+ shell: bash
+ run: |
+ git submodule update --checkout --init --depth 1 FreeRTOS/Source
+
+ - name: Build WIN32-MingW Demo
+ working-directory: FreeRTOS/Demo/WIN32-MingW
+ run: |
+ gcc --version
+ make --version
+ make
+
+ POSIX-GCC:
+ name: Native GCC
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout the FreeRTOS/FreeRTOS Repository
+ uses: actions/checkout@v2
+ with:
+ ref: main
+ repository: FreeRTOS/FreeRTOS
+ submodules: 'recursive'
+ fetch-depth: 1
+
+ - name: Fetch Kernel Submodule
+ shell: bash
+ run: git submodule update --checkout --init --depth 1 FreeRTOS/Source
+
+ - name: Install GCC
+ shell: bash
+ run: |
+ sudo apt-get -y update
+ sudo apt-get -y install build-essential
+
+ - name: Build Posix_GCC Demo
+ shell: bash
+ working-directory: FreeRTOS/Demo/Posix_GCC
+ run: make -j
+
+ MSP430-GCC:
+ name: GNU MSP430 Toolchain
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout the FreeRTOS/FreeRTOS Repository
+ uses: actions/checkout@v2
+ with:
+ ref: main
+ repository: FreeRTOS/FreeRTOS
+ submodules: 'recursive'
+ fetch-depth: 1
+
+ - name: Fetch Kernel Submodule
+ shell: bash
+ run: git submodule update --checkout --init --depth 1 FreeRTOS/Source
+
+ - name: Install MSP430 Toolchain
+ shell: bash
+ run: |
+ sudo apt-get -y update
+ sudo apt-get -y install gcc-msp430 build-essential
+
+ - name: Build msp430_GCC Demo
+ shell: bash
+ working-directory: FreeRTOS/Demo/msp430_GCC
+ run: make -j
+
+ ARM-GCC:
+ name: GNU ARM Toolchain
+ runs-on: ubuntu-latest
+ steps:
+ - name: Checkout the FreeRTOS/FreeRTOS Repository
+ uses: actions/checkout@v2
+ with:
+ ref: main
+ repository: FreeRTOS/FreeRTOS
+ submodules: 'recursive'
+ fetch-depth: 1
+
+ - name: Fetch Kernel Submodule
+ shell: bash
+ run: git submodule update --checkout --init --depth 1 FreeRTOS/Source
+
+ - name: Install GNU ARM Toolchain
+ shell: bash
+ run: |
+ sudo apt-get -y update
+ sudo apt-get -y install gcc-arm-none-eabi build-essential cmake git ninja-build python3-minimal
+
+ - name: Build CORTEX_MPU_M3_MPS2_QEMU_GCC Demo
+ shell: bash
+ working-directory: FreeRTOS/Demo/CORTEX_MPU_M3_MPS2_QEMU_GCC
+ run: make -j
+
+ - name: Build CORTEX_LM3S102_GCC Demo
+ shell: bash
+ working-directory: FreeRTOS/Demo/CORTEX_LM3S102_GCC
+ run: make -j
+
+ - name: Build CORTEX_M3_MPS2_QEMU_GCC Demo
+ shell: bash
+ working-directory: FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC
+ run: |
+ make clean
+ make -j
+
+ - name: Build CORTEX_M3_MPS2_QEMU_GCC Demo
+ shell: bash
+ working-directory: FreeRTOS/Demo/CORTEX_M3_MPS2_QEMU_GCC
+ run: |
+ make clean
+ make FULL_DEMO=1 -j
+
+ - name: Build CORTEX_LM3S811_GCC Demo
+ shell: bash
+ working-directory: FreeRTOS/Demo/CORTEX_LM3S811_GCC
+ run: make -j
+
+ - name: Build CORTEX_M0+_RP2040 Demos
+ shell: bash
+ working-directory: FreeRTOS/Demo/ThirdParty/Community-Supported/CORTEX_M0+_RP2040
+ run: |
+ git clone https://github.com/raspberrypi/pico-sdk.git
+ cmake -B build -DPICO_SDK_PATH=pico-sdk -GNinja
+ ninja -C build --verbose
+
+ - name: Build CORTEX_MPS2_QEMU_IAR_GCC Demo
+ shell: bash
+ working-directory: FreeRTOS/Demo/CORTEX_MPS2_QEMU_IAR_GCC
+ run: make -C build/gcc -j