Improve eth0 support #10
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
| on: | |
| push: | |
| branches: | |
| - main | |
| paths-ignore: | |
| - '*.md' | |
| - .github/workflows/*.yaml | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| custom-firmware-build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Load values vars.mk | |
| run: cat vars.mk >> "$GITHUB_ENV" | |
| - name: Cache Firmwares | |
| uses: actions/cache@v4 | |
| with: | |
| path: firmware/ | |
| key: firmwares-${{ runner.os }}-${{ runner.arch }}-${{ env.FIRMWARE_VERSION }} | |
| - name: Cache Kernel | |
| uses: actions/cache@v4 | |
| with: | |
| path: tmp/kernel/ | |
| key: kernels-${{ runner.os }}-${{ runner.arch }}-${{ env.KERNEL_SHA }} | |
| - name: Install build dependencies | |
| run: | |
| sudo apt-get update -y && sudo apt-get install -y build-essential cmake gcc-aarch64-linux-gnu | |
| - name: Download firmware | |
| run: make firmware | |
| - name: Build with Custom | |
| run: make custom_firmware CUSTOM_FIRMWARE_FILE=firmware_custom.bin | |
| - name: Clear Kernel Git Repo | |
| run: git -C tmp/kernel/ clean -fdx | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: custom-build | |
| path: firmware_custom.bin |