Skip to content

Commit

Permalink
CI: Add workflows for *hot*(maybe) devices.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunflower2333 committed May 29, 2024
1 parent bd7e313 commit 5d68e4b
Show file tree
Hide file tree
Showing 13 changed files with 494 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/sm7125_qti_qrd720.yml
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: Sm7125 QTI QRD720 SB/NOSB Uefi Build

# 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/AtollPkg/Device/qcom-qrd720/**'
# 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-latest

# 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 uefi for qti qrd720.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d qcom-qrd720

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-qrd720
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm7125_xiaomi_miatoll.yml
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: Sm7125 Redmi Note9S SB/NOSB Uefi Build

# 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/AtollPkg/Device/xiaomi-miatoll/**'
# 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-latest

# 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 uefi for redmi note 9s.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d xiaomi-miatoll

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-miatoll
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm7325_qti_qrd778.yml
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: Sm7325 QTI QRD778 SB/NOSB Uefi Build

# 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/KodiakPkg/Device/qcom-qrd778/**'
# 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-latest

# 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 uefi for qti qrd778.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d qcom-qrd778

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-qrd778
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8150_oneplus_7.yml
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: Sm8150 OnePlus 7 SB/NOSB Uefi Build

# 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/SurfaceDuo1Pkg/Device/oneplus-guacamoleb/**'
# 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-latest

# 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 uefi for oneplus 7.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d oneplus-guacamoleb

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-guacamoleb
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8150_poco_x3p.yml
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: Sm8150 Xiaomi Poco X3Pro SB/NOSB Uefi Build.

# 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/SurfaceDuo1Pkg/Device/xiaomi-vayu/**'
# 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-latest

# 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 uefi for xiaomi poco x3 pro.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d xiaomi-vayu

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-vayu
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8150_qti_qrd855.yml
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: Sm8150 QTI QRD855 SB/NOSB Uefi Build

# 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/SurfaceDuo1Pkg/Device/qcom-qrd855/**'
# 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-latest

# 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 uefi for qti qrd855.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d qcom-qrd855

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-qrd855
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8150_rog_2.yml
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: Sm8150 ROG 2 SB/NOSB Uefi Build

# 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/SurfaceDuo1Pkg/Device/asus-I001DC/**'
# 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-latest

# 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 uefi for rog 2.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d asus-I001DC

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-I001DC
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8150_xiaomi_9.yml
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: Sm8150 Xiaomi MI9 SB/NOSB Uefi Build.

# 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/SurfaceDuo1Pkg/Device/xiaomi-cepheus/**'
# 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-latest

# 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 uefi for xiaomi 9.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d xiaomi-cepheus

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-cepheus
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8150_xiaomi_mix3_5g.yml
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: Sm8150 Xiaomi MIX3 5G SB/NOSB Uefi Build.

# 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/SurfaceDuo1Pkg/Device/xiaomi-andromeda/**'
# 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-latest

# 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 uefi for xiaomi mix3 5g.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d xiaomi-andromeda

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-andromeda
path: Build/*/ci_artifacts
compression-level: 9
38 changes: 38 additions & 0 deletions .github/workflows/sm8150_xiaomi_pad_5.yml
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: Sm8150 Xiaomi Pad 5Pro SB/NOSB Uefi Build.

# 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/SurfaceDuo1Pkg/Device/xiaomi-nabu/**'
# 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-latest

# 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 uefi for xiaomi pad 5 pro.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d xiaomi-nabu

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-nabu
path: Build/*/ci_artifacts
compression-level: 9
Loading

0 comments on commit 5d68e4b

Please sign in to comment.