-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 1.31 KB
/
release.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: edk2 build
on: [push,workflow_dispatch]
jobs:
build:
name: Build ${{ matrix.platform }}
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- runner: ubicloud-standard-2
platform: x64
edk2_version: edk2-stable202402
edk2_commit: edc6681206c1a8791981a2f911d2fb8b3d2f5768
- runner: ubicloud-standard-2-arm
edk2_version: edk2-stable202211
edk2_commit: fff6d81270b57ee786ea18ad74f43149b9f03494
platform: arm64
steps:
- name: Code checkout
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get -y install uuid-dev iasl build-essential python3-distutils git libbrotli-dev nasm
- name: Build edk2
run: EDK2_COMMIT=${{ matrix.edk2_commit}} ./build-edk2
- name: List produced files
run: ls
- uses: ncipollo/release-action@v1
if: github.event_name == 'workflow_dispatch'
with:
artifacts: "${{ github.workspace }}/CLOUDHV-${{ matrix.platform }}.fd"
body: "Release ${{ matrix.edk2_version }}-${{ matrix.platform }}"
name: "${{ matrix.edk2_version }}-${{ matrix.platform }}"
tag: "${{ matrix.edk2_version }}-${{ matrix.platform }}"
allowUpdates: true