Skip to content

Commit 97c4473

Browse files
committed
Update GitHub action to perform check for Cortex-A ports
1 parent 7f4f628 commit 97c4473

140 files changed

Lines changed: 26140 additions & 2 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ports_arch_check.yml

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ on:
1515
- 'ports/**'
1616
- 'ports_modules/**'
1717
- 'ports_smp/**'
18+
- 'ports_arch/**'
1819

1920
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
2021
jobs:
21-
# This workflow contains a single job called "build"
22-
build:
22+
# Check ports for cortex-m
23+
cortex-m:
2324
# The type of runner that the job will run on
2425
runs-on: ubuntu-latest
2526

@@ -41,5 +42,28 @@ jobs:
4142
exit 1
4243
fi
4344
45+
cortex-a:
46+
# Check ports for cortex-a
47+
runs-on: windows-latest
48+
49+
# Steps represent a sequence of tasks that will be executed as part of the job
50+
steps:
51+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
52+
- name: Checkout sources recursively
53+
uses: actions/checkout@v2
54+
with:
55+
token: ${{ secrets.REPO_SCOPED_TOKEN }}
56+
submodules: true
57+
58+
# Copy ports arch
59+
- name: Copy ports arch
60+
run: |
61+
cd ports_arch/ARMv7-A
62+
pwsh -Command ./update.ps1 -PortSets tx -CopyCommonFiles -CopyPortFiles -CopyExample -PatchFiles
63+
if ((git status --porcelain) -ne "") {
64+
Write-Host "Ports for ARM architecture is not updated"
65+
Exit 1
66+
}
67+
4468
4569

ports_arch/ARMv8-A/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# ARMv8-A architecture ports
2+
3+
The ThreadX, ThreadX SMP, ThreadX Modules and ThreadX SMP Modules ports for ARMv8 share many files in common. To make work more efficient these files are internally tracked only once and copied over to specific ports for users.
4+

0 commit comments

Comments
 (0)