[Dependabot]: Bump micropython from d441788 to 046013a
#73
Workflow file for this run
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: 'neorv32-micropython build' | |
| on: | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| convert: | |
| name: '🐍 Compile MicroPython firmware' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: '📂 Repository Checkout' | |
| uses: actions/checkout@v5 | |
| with: | |
| submodules: true | |
| - name: '📦 Install Python' | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| - name: '📦 Install xPack RISC-V GCC 14.2.0' | |
| run: | | |
| wget -q https://github.com/xpack-dev-tools/riscv-none-elf-gcc-xpack/releases/download/v14.2.0-2/xpack-riscv-none-elf-gcc-14.2.0-2-linux-x64.tar.gz | |
| mkdir $GITHUB_WORKSPACE/riscv-gcc | |
| tar -xzf xpack-riscv-none-elf-gcc-14.2.0-2-linux-x64.tar.gz -C $GITHUB_WORKSPACE/riscv-gcc | |
| echo $GITHUB_WORKSPACE/riscv-gcc/xpack-riscv-none-elf-gcc-14.2.0-2/bin >> $GITHUB_PATH | |
| - name: '🔍 Check Tools' | |
| run: | | |
| python -V | |
| riscv-none-elf-gcc -v | |
| - name: '⚙️ Compile Firmware' | |
| run: make all | |
| - name: '📤 Archive generated ELF' | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: firmware | |
| path: build/firmware.elf |