forked from FieryFlames/Lumia630Pkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7e5ab0e
commit a69321d
Showing
2 changed files
with
50 additions
and
1 deletion.
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,49 @@ | ||
name: build (RELEASE) | ||
|
||
on: | ||
push: | ||
branches: [ "530" ] | ||
pull_request: | ||
branches: [ "530" ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Update APT | ||
run: sudo apt update | ||
|
||
- name: Install Dependencies | ||
run: sudo apt install build-essential crossbuild-essential-armhf uuid-dev iasl git nasm python3-distutils | ||
|
||
- name: Create EDK2 workspace | ||
run: mkdir /home/runner/work/EDK2WorkDir | ||
|
||
- name: Clone sources | ||
run: | | ||
cd /home/runner/work/EDK2WorkDir/ | ||
git clone https://github.com/Tianocore/edk2.git -b stable/202011 --depth=1 --recursive | ||
git clone https://github.com/vicenteicc2008/Lumia530Pkg --depth=1 edk2/Lumia530Pkg | ||
- name: Build BaseTools | ||
run: | | ||
cd /home/runner/work/EDK2WorkDir/edk2 | ||
make -C BaseTools/ | ||
- name: Build EDK2 | ||
run: | | ||
cd /home/runner/work/EDK2WorkDir/edk2 | ||
. /home/runner/work/EDK2WorkDir/edk2/edksetup.sh | ||
GCC5_ARM_PREFIX=arm-linux-gnueabihf- build -a ARM -p Lumia530Pkg/Lumia530.dsc -t GCC5 -j$(nproc) -s -n 0 -b RELEASE | ||
- name: Create ELF binary | ||
run: | | ||
cd /home/runner/work/EDK2WorkDir/edk2/Build/Lumia530-ARM/RELEASE_GCC5/FV | ||
arm-linux-gnueabihf-objcopy -I binary -O elf32-littlearm --binary-architecture arm MSM8612_EFI.fd MSM8612_EFI.fd.elf && arm-linux-gnueabihf-ld MSM8612_EFI.fd.elf -T ../../../../Lumia530Pkg/FvWrapper.ld -o ../../../../../emmc_appsboot.mbn | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: Lumia 530 | ||
path: /home/runner/work/EDK2WorkDir/emmc_appsboot.mbn |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: C/C++ CI | ||
name: build (DEBUG) | ||
|
||
on: | ||
push: | ||
|