Skip to content

Commit

Permalink
fix strange issue where napalipkg didnt push
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel224455 committed Dec 26, 2024
1 parent 2afb159 commit 4f9a012
Showing 250 changed files with 96,095 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/sdm845.yml
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 SDM845 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: NapaliPkg
secrets: inherit

package:
strategy:
matrix:
target:
[
{
platform: "NapaliPkg",
codename: "napali",
chipname: "sdm845",
},
]

# 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
38 changes: 38 additions & 0 deletions .github/workflows/sdm845_oneplus_enchilada.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: SDM845 OnePlus 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/NapaliPkg/Device/oneplus-enchilada/**'
# 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 6.
run: bash scripts/ci_setup.sh && ./build_uefi.py -d oneplus-enchilada

- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: uefi-images-venus
path: Build/*/ci_artifacts
compression-level: 9
Binary file not shown.
Loading

0 comments on commit 4f9a012

Please sign in to comment.