Skip to content

Commit 61cb7da

Browse files
committed
CI: Bump dependency
Initially, Arm Cortex-A port checks were conducted using 'pwsh' (Windows PowerShell) on a Windows host. To maintain consistency, the continuous integration pipeline shifted to a Linux host. Consequently, this change eliminated the use of Windows PowerShell, which effectively disabled the Arm Cortex-A port checks.
1 parent ca456a4 commit 61cb7da

5 files changed

+19
-45
lines changed

.github/workflows/ports_arch_check.yml

Lines changed: 6 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
name: ports_arch_check
44

55
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
6+
# events but only for the dev branch
77
on:
88
pull_request:
9-
branches: [ master ]
9+
branches: [ dev ]
1010
paths:
1111
- ".github/workflows/ports_arch_check.yml"
1212
- 'common/**'
@@ -28,7 +28,7 @@ jobs:
2828
steps:
2929
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
3030
- name: Checkout sources recursively
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v4
3232
with:
3333
token: ${{ secrets.REPO_SCOPED_TOKEN }}
3434
submodules: true
@@ -38,36 +38,10 @@ jobs:
3838
run: |
3939
scripts/copy_armv7_m.sh && scripts/copy_armv8_m.sh && scripts/copy_module_armv7_m.sh
4040
if [[ -n $(git status --porcelain -uno) ]]; then
41-
echo "Ports for ARM architecture is not updated"
41+
echo "Ports for Arm architecture is not updated"
4242
git status
4343
exit 1
4444
fi
4545
46-
cortex-a:
47-
# Check ports for cortex-a
48-
runs-on: windows-latest
49-
50-
# Steps represent a sequence of tasks that will be executed as part of the job
51-
steps:
52-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
53-
- name: Checkout sources recursively
54-
uses: actions/checkout@v2
55-
with:
56-
token: ${{ secrets.REPO_SCOPED_TOKEN }}
57-
submodules: true
58-
59-
# Copy ports arch
60-
- name: Copy ports arch
61-
run: |
62-
cd ports_arch/ARMv7-A
63-
pwsh -Command ./update.ps1 -PortSets tx -CopyCommonFiles -CopyPortFiles -CopyExample -PatchFiles
64-
cd ../../ports_arch/ARMv8-A
65-
pwsh -Command ./update.ps1 -PortSets tx,tx_smp -CopyCommonFiles -CopyPortFiles -CopyExample -PatchFiles
66-
if ((git status --porcelain -uno) -ne $null) {
67-
Write-Host "Ports for ARM architecture is not updated"
68-
git status
69-
Exit 1
70-
}
71-
72-
73-
46+
# FIXME: Re-enable the checks for Arm Cortex-A
47+
# cortex-a:

.github/workflows/regression_template.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
run: ${{ inputs.test_script }}
7878

7979
- name: Publish Test Results
80-
uses: EnricoMi/publish-unit-test-result-action@v2.11.0
80+
uses: EnricoMi/publish-unit-test-result-action@v2.18.0
8181
if: always()
8282
with:
8383
check_name: Test Results ${{ inputs.result_affix }}
@@ -86,7 +86,7 @@ jobs:
8686
8787
- name: Upload Test Results
8888
if: success() || failure()
89-
uses: actions/upload-artifact@v3.1.3
89+
uses: actions/upload-artifact@v4
9090
with:
9191
name: test_reports ${{ inputs.result_affix }}
9292
path: |
@@ -95,7 +95,7 @@ jobs:
9595
${{ inputs.cmake_path }}/build/**/regression/output_files/*.bin
9696
9797
- name: Configure GitHub Pages
98-
uses: actions/configure-pages@v3.0.6
98+
uses: actions/configure-pages@v5
9999

100100
- name: Generate Code Coverage Results Summary
101101
if: (!inputs.skip_coverage)
@@ -115,7 +115,7 @@ jobs:
115115
116116
- name: Create CheckRun for Code Coverage
117117
if: ((github.event_name == 'push') || (github.event_name == 'workflow_dispatch') || (github.event.pull_request.head.repo.full_name == github.repository)) && (!inputs.skip_coverage)
118-
uses: LouisBrunner/checks-action@v1.6.2
118+
uses: LouisBrunner/checks-action@v2.0.0
119119
with:
120120
token: ${{ secrets.GITHUB_TOKEN }}
121121
name: Code Coverage ${{ inputs.result_affix }}
@@ -141,15 +141,15 @@ jobs:
141141
fi
142142
143143
- name: Upload Code Coverage Artifacts
144-
uses: actions/upload-artifact@v3.1.3
144+
uses: actions/upload-artifact@v4
145145
if: (inputs.skip_deploy && !inputs.skip_coverage)
146146
with:
147147
name: coverage_report
148148
path: ${{ inputs.cmake_path }}/coverage_report
149149
retention-days: 1
150150

151151
- name: Upload Code Coverage Pages
152-
uses: actions/upload-pages-artifact@v2.0.0
152+
uses: actions/upload-pages-artifact@v3
153153
if: (!inputs.skip_deploy && !inputs.skip_coverage)
154154
with:
155155
path: ${{ inputs.cmake_path }}/coverage_report/${{ inputs.coverage_name }}
@@ -166,13 +166,13 @@ jobs:
166166
id-token: write
167167

168168
steps:
169-
- uses: actions/download-artifact@v3
169+
- uses: actions/download-artifact@v4
170170
if: ${{ inputs.skip_test }}
171171
with:
172172
name: coverage_report
173173

174174
- name: Upload Code Coverage Pages
175-
uses: actions/upload-pages-artifact@v2.0.0
175+
uses: actions/upload-pages-artifact@v3
176176
if: ${{ inputs.skip_test }}
177177
with:
178178
path: .
@@ -184,7 +184,7 @@ jobs:
184184

185185
- name: Deploy GitHub Pages site
186186
id: deployment
187-
uses: actions/deploy-pages@v1.2.9
187+
uses: actions/deploy-pages@v4
188188

189189
- name: Write Code Coverage Report URL
190190
run: >-

.github/workflows/regression_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: regression_test
22

33
# Controls when the action will run. Triggers the workflow on push or pull request
4-
# events but only for the master branch
4+
# events but only for the dev branch
55
on:
66
workflow_dispatch:
77
push:
8-
branches: [ master ]
8+
branches: [ dev ]
99
pull_request:
10-
branches: [ master ]
10+
branches: [ dev ]
1111

1212
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1313
jobs:
@@ -32,4 +32,4 @@ jobs:
3232
uses: ./.github/workflows/regression_template.yml
3333
with:
3434
skip_test: true
35-
deploy_list: "ThreadX SMP"
35+
deploy_list: "ThreadX SMP"

0 commit comments

Comments
 (0)