This commit is contained in:
parent
9a313244ff
commit
2484f1466b
1 changed files with 28 additions and 0 deletions
28
.woodpecker.yaml
Normal file
28
.woodpecker.yaml
Normal file
|
@ -0,0 +1,28 @@
|
|||
steps:
|
||||
- name: build
|
||||
image: fedora
|
||||
commands:
|
||||
- echo "Cloning application repository"
|
||||
- git clone https://forge.slowte.ch/uefi/efi-clock.git
|
||||
|
||||
- echo "Cloning toolchain repositories"
|
||||
- git clone https://github.com/tianocore/edk2.git
|
||||
- cd edk2 && git submodule update --init && cd ..
|
||||
- git clone https://github.com/tianocore/edk2-platforms.git
|
||||
- cd edk2-platforms && git submodule update --init && cd ..
|
||||
- git clone https://github.com/tianocore/edk2-non-osi.git
|
||||
|
||||
- echo "Configuring toolchain"
|
||||
- export EDK_TOOLS_PATH="$PWD/edk2/BaseTools"
|
||||
- export PACKAGES_PATH="$PWD/edk2:$PWD/edk2-platforms:$PWD/edk2-non-osi"
|
||||
- . edk2/edksetup.sh
|
||||
- make -C edk2/BaseTools
|
||||
|
||||
- echo "Copying application files"
|
||||
- mkdir edk2/EfiClock
|
||||
- cp efi-clock/EfiClock.inf edk2/EfiClock/.
|
||||
- cp efi-clock/UefiMain.c edk2/EfiClock/.
|
||||
- sed '/[Components]/a EfiClock/EfiClock.inf' file
|
||||
|
||||
- echo "Building application"
|
||||
- build -a X64 -t GCC5 -p edk2/MdeModulePkg/MdeModulePkg.dsc
|
Loading…
Reference in a new issue