CI: add win32-mingw demo to GithubActions workflow

pull/909/head
Paul Bartell 2 years ago committed by Paul Bartell
parent c2cdc3cb36
commit 61fed35107

@ -3,7 +3,7 @@ on: pull_request
jobs: jobs:
WIN32-MSVC: WIN32-MSVC:
name: Microsoft Visual C Compiler (WIN32) name: WIN32 MSVC
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- name: Checkout Repository - name: Checkout Repository
@ -25,6 +25,30 @@ jobs:
working-directory: FreeRTOS/Demo/WIN32-MSVC-Static-Allocation-Only working-directory: FreeRTOS/Demo/WIN32-MSVC-Static-Allocation-Only
run: msbuild WIN32.sln -t:rebuild 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: POSIX-GCC:
name: Native GCC name: Native GCC
runs-on: ubuntu-latest runs-on: ubuntu-latest

@ -12,8 +12,8 @@ else
endif endif
# Linker - Note this expects you are using MinGW version of GCC # Linker - Note this expects you are using MinGW version of GCC
LD := gcc LD := ${CC}
LDFLAGS := -Xlinker -Map=$(BUILD_DIR)/rtosdemo.map LDFLAGS := -Xlinker -Map=$(BUILD_DIR)/rtosdemo.map
# Executable Targets # Executable Targets
EXE := $(BUILD_DIR)/RTOSDemo.exe EXE := $(BUILD_DIR)/RTOSDemo.exe

Loading…
Cancel
Save