DumpOtpAndSeeprom.c: Split the "write file" code into a separate func… #77
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 | |
on: [push, pull_request] | |
jobs: | |
build-binary: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Build recovery | |
run: | | |
# build docker container | |
docker build -t recoverybuilder . | |
# build recovery_menu with display controller initialization | |
docker run --rm -v ${PWD}:/project recoverybuilder make DC_INIT=1 | |
mv recovery_menu recovery_menu_dc_init | |
# build default recovery menu | |
docker run --rm -v ${PWD}:/project recoverybuilder make clean | |
docker run --rm -v ${PWD}:/project recoverybuilder make | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: recovery_menu | |
path: | | |
recovery_menu | |
recovery_menu_dc_init |