Repository navigation
Refactor HttpDaemon handler storage setup #440
This file contains hidden or 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 H3 | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| pull_request: | |
| branches: | |
| - '*' | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.10' | |
| - name: Install arm-none-eabi v15 | |
| run: | | |
| set -e | |
| TOOLCHAIN_URL="https://developer.arm.com/-/media/Files/downloads/gnu/15.2.rel1/binrel/arm-gnu-toolchain-15.2.rel1-x86_64-arm-none-eabi.tar.xz" | |
| TOOLCHAIN_DIR="/opt/arm-gnu-toolchain-15.2.rel1-x86_64-arm-none-eabi" | |
| sudo mkdir -p /opt | |
| wget -qO /tmp/arm-toolchain.tar.xz "$TOOLCHAIN_URL" | |
| sudo tar -xJf /tmp/arm-toolchain.tar.xz -C /opt | |
| echo "$TOOLCHAIN_DIR/bin" >> "$GITHUB_PATH" | |
| - name: version | |
| run: arm-none-eabi-g++ --version | |
| - name: Install U-Boot tools | |
| run: sudo apt install u-boot-tools | |
| - name: make | |
| run: | | |
| cd scripts | |
| ./build_h3-firmware.sh |