Fix ModuleNotFoundError: No module named 'six' #27
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: 02-Build-Firmware | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| - "release/**" | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: 'Branches to run the workflow on' | |
| required: true | |
| default: 'main' | |
| jobs: | |
| FW_build: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| fetch-depth: 0 | |
| ref: ${{ github.event.inputs.branch }} | |
| - name: Build Docker Image | |
| run: docker build -t ${{ github.repository }}-build-env:latest . | |
| - name: Run Docker Container | |
| run: | | |
| docker run --rm -v ${{ github.workspace }}:/workspace ${{ github.repository }}-build-env:latest /bin/bash -c " | |
| cd /workspace/projects/lorawan_extension/components/lbm_applications/4_porting_efr32 && | |
| make sx1262 MODEM_APP=PERIODICAL_UPLINK && | |
| make sx1262 MODEM_APP=PORTING_TESTS && | |
| make sx1262 MODEM_APP=LCTT_CERTIF && | |
| make sx1262 MODEM_APP=PING_PONG | |
| " | |
| - name: Clean up workspace | |
| if: always() | |
| run: sudo git clean -ffdx |