mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-14 16:57:41 -04:00
CI: add win32-mingw demo to GithubActions workflow
This commit is contained in:
parent
c2cdc3cb36
commit
61fed35107
2 changed files with 27 additions and 3 deletions
26
.github/workflows/freertos_demos.yml
vendored
26
.github/workflows/freertos_demos.yml
vendored
|
@ -3,7 +3,7 @@ on: pull_request
|
|||
|
||||
jobs:
|
||||
WIN32-MSVC:
|
||||
name: Microsoft Visual C Compiler (WIN32)
|
||||
name: WIN32 MSVC
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
|
@ -25,6 +25,30 @@ jobs:
|
|||
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 Repository
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Fetch Kernel Submodule
|
||||
shell: bash
|
||||
run: |
|
||||
git submodule update --checkout --init --depth 1 FreeRTOS/Source
|
||||
|
||||
- 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
|
||||
|
|
|
@ -12,8 +12,8 @@ else
|
|||
endif
|
||||
|
||||
# Linker - Note this expects you are using MinGW version of GCC
|
||||
LD := gcc
|
||||
LDFLAGS := -Xlinker -Map=$(BUILD_DIR)/rtosdemo.map
|
||||
LD := ${CC}
|
||||
LDFLAGS := -Xlinker -Map=$(BUILD_DIR)/rtosdemo.map
|
||||
|
||||
# Executable Targets
|
||||
EXE := $(BUILD_DIR)/RTOSDemo.exe
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue