-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
47 lines (39 loc) · 1.84 KB
/
appveyor.yml
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
37
38
39
40
41
42
43
44
45
46
47
# Copyright (c) 2019-2020, Pete Batard <[email protected]>
# SPDX-License-Identifier: BSD-3-Clause
image: Ubuntu1804
skip_non_tags: true
install:
sh: |-
sudo apt-get update -qq
sudo -E apt-get install -y acpica-tools gcc-aarch64-linux-gnu python3-distutils uuid-dev
git submodule update --init --recursive
before_build:
ps: |-
Start-FileDownload https://github.com/raspberrypi/firmware/raw/master/boot/fixup4.dat
Start-FileDownload https://github.com/raspberrypi/firmware/raw/master/boot/start4.elf
Start-FileDownload https://github.com/raspberrypi/firmware/raw/master/boot/bcm2711-rpi-4-b.dtb
Start-FileDownload https://github.com/raspberrypi/firmware/raw/master/boot/overlays/miniuart-bt.dtbo
mkdir overlays
move miniuart-bt.dtbo overlays
build_script:
sh: ./build_firmware.sh
after_build:
sh: |-
7z a RPi4_UEFI_Firmware_$APPVEYOR_REPO_TAG_NAME.zip $APPVEYOR_BUILD_FOLDER/Build/RPi4/RELEASE_GCC5/FV/RPI_EFI.fd $APPVEYOR_BUILD_FOLDER/bcm2711-rpi-4-b.dtb $APPVEYOR_BUILD_FOLDER/config.txt $APPVEYOR_BUILD_FOLDER/fixup4.dat $APPVEYOR_BUILD_FOLDER/start4.elf overlays/miniuart-bt.dtbo $APPVEYOR_BUILD_FOLDER/Readme.md
sha256sum $APPVEYOR_BUILD_FOLDER/Build/RPi4/DEBUG_GCC5/FV/RPI_EFI.fd $APPVEYOR_BUILD_FOLDER/Build/RPi4/RELEASE_GCC5/FV/RPI_EFI.fd RPi4_UEFI_Firmware_$APPVEYOR_REPO_TAG_NAME.zip
artifacts:
- path: 'Build/RPi4/DEBUG_GCC5/FV/RPI_EFI.fd'
name: DEBUG RPi4 UEFI Firmware
- path: 'Build/RPi4/RELEASE_GCC5/FV/RPI_EFI.fd'
name: RELEASE RPi4 UEFI Firmware
- path: '*.zip'
name: RPi 4 UEFI Firmware
deploy:
release: $(APPVEYOR_REPO_TAG_NAME)
description: Raspberry Pi 4 UEFI Firmware $(APPVEYOR_REPO_TAG_NAME)
provider: GitHub
auth_token:
secure: w5YuQOim+G+U7FxxrL0BH6t0trCWKCs9DMZlF4xqF2XGC6SymzwaJrPWrKeeJHPK
artifact: /.*\.zip/
draft: false
prerelease: false