-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CI: Enable build support for MSM8998 platform and devices
Signed-off-by: XiaoYeZi <qaz6750@outlook.com>
- Loading branch information
Showing
3 changed files
with
132 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Build uefi for all MSM8998 devices. | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Indicate that we are running in CI | ||
env: | ||
WM_CI_BUILD: true | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains two jobs called "build" and "package" | ||
build: | ||
uses: Project-Aloha/mu_aloha_platforms/.github/workflows/build_platform.yml@main | ||
with: | ||
platform: NazgulPkg | ||
secrets: inherit | ||
|
||
package: | ||
strategy: | ||
matrix: | ||
target: | ||
[ | ||
{ | ||
platform: "NazgulPkg", | ||
codename: "nazgul", | ||
chipname: "msm8998", | ||
}, | ||
] | ||
|
||
# The type of runner that the job will run on | ||
runs-on: ubuntu-22.04 | ||
|
||
needs: build | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Download Build Artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
path: Build | ||
merge-multiple: true | ||
|
||
- name: Upload ${{ matrix.target.codename }}'s Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: uefi-images-${{ matrix.target.codename }}-${{ matrix.target.chipname }} | ||
path: Build/${{ matrix.target.platform }}/ci_artifacts | ||
compression-level: 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: MSM8998 OnePlus 5T | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# # Triggers the workflow on push or pull request events but only for the "main" branch | ||
push: | ||
branches: [ "main" ] | ||
paths: | ||
- 'Platforms/NazgulPkg/Device/oneplus-dumpling/**' | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Indicate that we are running in CI | ||
env: | ||
WM_CI_BUILD: true | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-22.04 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v4 | ||
- name: Build SB/NOSB uefi for OnePlus 5T. | ||
run: bash scripts/ci_setup.sh && ./build_uefi.py -d oneplus-dumpling | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: uefi-images-dumpling | ||
path: Build/*/ci_artifacts | ||
compression-level: 9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: MSM8998 XiaoMi 6 | ||
|
||
# Controls when the workflow will run | ||
on: | ||
# # Triggers the workflow on push or pull request events but only for the "main" branch | ||
push: | ||
branches: [ "main" ] | ||
paths: | ||
- 'Platforms/NazgulPkg/Device/xiaomi-sagit/**' | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Indicate that we are running in CI | ||
env: | ||
WM_CI_BUILD: true | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
# This workflow contains a single job called "build" | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-22.04 | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- uses: actions/checkout@v4 | ||
- name: Build SB/NOSB uefi for XiaoMi 6. | ||
run: bash scripts/ci_setup.sh && ./build_uefi.py -d xiaomi-sagit | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: uefi-images-sagit | ||
path: Build/*/ci_artifacts | ||
compression-level: 9 |