add credits to some friends #43
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
name: build (DEBUG) | |
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 | |
- name: Create ELF binary | |
run: | | |
cd /home/runner/work/EDK2WorkDir/edk2/Build/Lumia530-ARM/DEBUG_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 |