Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run kernel demos and unit tests for PR changes #645

Merged
merged 3 commits into from
Mar 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 30 additions & 17 deletions .github/workflows/kernel-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,12 @@ jobs:
submodules: 'recursive'
fetch-depth: 1

- name: Fetch Kernel Submodule
shell: bash
run: |
git submodule update --checkout --init --depth 1 FreeRTOS/Source
# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: ./FreeRTOS/Source

- name: Add msbuild to PATH
uses: microsoft/[email protected]
Expand All @@ -42,10 +44,12 @@ jobs:
submodules: 'recursive'
fetch-depth: 1

- name: Fetch Kernel Submodule
shell: bash
run: |
git submodule update --checkout --init --depth 1 FreeRTOS/Source
# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: ./FreeRTOS/Source

- name: Build WIN32-MingW Demo
working-directory: FreeRTOS/Demo/WIN32-MingW
Expand All @@ -66,9 +70,12 @@ jobs:
submodules: 'recursive'
fetch-depth: 1

- name: Fetch Kernel Submodule
shell: bash
run: git submodule update --checkout --init --depth 1 FreeRTOS/Source
# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: ./FreeRTOS/Source

- name: Install GCC
shell: bash
Expand All @@ -93,9 +100,12 @@ jobs:
submodules: 'recursive'
fetch-depth: 1

- name: Fetch Kernel Submodule
shell: bash
run: git submodule update --checkout --init --depth 1 FreeRTOS/Source
# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: ./FreeRTOS/Source

- name: Install MSP430 Toolchain
shell: bash
Expand All @@ -120,9 +130,12 @@ jobs:
submodules: 'recursive'
fetch-depth: 1

- name: Fetch Kernel Submodule
shell: bash
run: git submodule update --checkout --init --depth 1 FreeRTOS/Source
# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: ./FreeRTOS/Source

- name: Install GNU ARM Toolchain
shell: bash
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,12 @@ jobs:
repository: FreeRTOS/FreeRTOS
submodules: 'recursive'
fetch-depth: 1
- name: Clone This Repo

# Checkout user pull request changes
- name: Checkout Pull Request
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: ./FreeRTOS/Source

- name: Setup Python
Expand Down