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:
authorActoryOu <jay2002824@gmail.com>2023-10-30 18:35:42 +0300
committerGitHub <noreply@github.com>2023-10-30 18:35:42 +0300
commitef0104e7685c45eeebf6ebe06a24f4eb1a28c045 (patch)
treefbbb2d7f17ad5923f1057b5276fb64a583f29e10 /.github
parent1c465a0890bb5051a0c262ea1ed7cf6e40246499 (diff)
Move cmake compile options to the example project (#872)
* Move GCC compile option to GCC folder with toolchain option * Add CI flow to build cmake example * Fix CI * formatting && enable Werror * Add useless variable to test CI * revert useless variable * Add comments as examples. * Remove default compile options. * Formatting * Remove compile option in kernel cmake and put the sample in examples/cmake_example --------- Co-authored-by: Joseph Julicher <jjulicher@mac.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/kernel-demos.yml21
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/kernel-demos.yml b/.github/workflows/kernel-demos.yml
index 62970a171..7d83d7482 100644
--- a/.github/workflows/kernel-demos.yml
+++ b/.github/workflows/kernel-demos.yml
@@ -90,6 +90,27 @@ jobs:
working-directory: FreeRTOS/Demo/Posix_GCC
run: make -j COVERAGE_TEST=1
+ CMake-Example:
+ name: CMake Example with Native GCC
+ runs-on: ubuntu-latest
+ steps:
+ # Checkout user pull request changes
+ - name: Checkout Repository
+ uses: actions/checkout@v3
+
+ - name: Install GCC
+ shell: bash
+ run: |
+ sudo apt-get -y update
+ sudo apt-get -y install build-essential
+
+ - name: Build CMake Example Demo
+ shell: bash
+ working-directory: examples/cmake_example
+ run: |
+ cmake -S . -B build
+ cmake --build build
+
MSP430-GCC:
name: GNU MSP430 Toolchain
runs-on: ubuntu-latest