Convert ADO pipelines to GitHub actions (#321)

* Convert ADO pipelines to GitHub actions

* Remove version in uses as not valid for local workflows

* Fix cmake path and add deploy url affix

* Add SMP build job

* Fix code coverage URL

* Add affix to titles of steps

* Remove ADO pipelines

* Add affix to titles of code coverage

* separate PR results for multiple jobs

* Revert "separate PR results for multiple jobs"

This reverts commit 6da13540fd.

* separate PR results for multiple jobs
This commit is contained in:
TiejunZhou
2023-11-23 13:17:52 +08:00
committed by GitHub
parent d17d7bdcbd
commit 11a7db22b4
4 changed files with 166 additions and 159 deletions

29
.github/workflows/regression_test.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: regression_test
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
tx:
uses: ./.github/workflows/regression_template.yml
with:
build_script: ./scripts/build_tx.sh
test_script: ./scripts/test_tx.sh
cmake_path: ./test/tx/cmake
deploy_url_affix: tx/
result_affix: ThreadX
tx_smp:
uses: ./.github/workflows/regression_template.yml
with:
build_script: ./scripts/build_smp.sh
test_script: ./scripts/test_smp.sh
cmake_path: ./test/smp/cmake
deploy_url_affix: smp/
result_affix: SMP