diff --git a/.github/workflows/main_matrix.yml b/.github/workflows/main_matrix.yml index 03d47f18e6..92f9d61f14 100644 --- a/.github/workflows/main_matrix.yml +++ b/.github/workflows/main_matrix.yml @@ -67,6 +67,7 @@ jobs: - board: tlora-v2-1-1_6-tcxo - board: tlora-v2-1-1_8 - board: tbeam + - board: heltec-ht62-esp32c3-sx1262 - board: heltec-v2_0 - board: heltec-v2_1 - board: tbeam0_7 @@ -92,8 +93,7 @@ jobs: - board: heltec-wsl-v3 - board: heltec-wireless-tracker - board: heltec-wireless-tracker-V1-0 - - board: heltec-wireless-paper-v1_0 - - board: heltec-wireless-paper #v1.1 + - board: heltec-wireless-paper - board: tbeam-s3-core - board: tlora-t3s3-v1 - board: t-watch-s3 @@ -104,16 +104,6 @@ jobs: with: board: ${{ matrix.board }} - build-esp32-c3: - strategy: - fail-fast: false - matrix: - include: - - board: heltec-ht62-esp32c3-sx1262 - uses: ./.github/workflows/build_esp32_c3.yml - with: - board: ${{ matrix.board }} - build-nrf52: strategy: fail-fast: false @@ -145,77 +135,6 @@ jobs: with: board: ${{ matrix.board }} - build-raspbian: - strategy: - fail-fast: false - max-parallel: 1 - uses: ./.github/workflows/build_raspbian.yml - - package-raspbian: - uses: ./.github/workflows/package_raspbian.yml - - build-native: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - name: Build base - id: base - uses: ./.github/actions/setup-base - - # We now run integration test before other build steps (to quickly see runtime failures) - #- name: Build for native - # run: platformio run -e native - #- name: Integration test - # run: | - #.pio/build/native/program - #& sleep 20 # 5 seconds was not enough - #echo "Simulator started, launching python test..." - #python3 -c 'from meshtastic.test import testSimulator; testSimulator()' - - - name: Build Native - run: bin/build-native.sh - - - name: Get release version string - run: echo "version=$(./bin/buildinfo.py long)" >> $GITHUB_OUTPUT - id: version - - - name: Store binaries as an artifact - uses: actions/upload-artifact@v3 - with: - name: firmware-native-${{ steps.version.outputs.version }}.zip - path: | - release/device-*.sh - release/device-*.bat - - - name: Docker login - if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} - uses: docker/login-action@v2 - with: - username: meshtastic - password: ${{ secrets.DOCKER_TOKEN }} - - - name: Docker setup - if: ${{ github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} - uses: docker/setup-buildx-action@v2 - - - name: Docker build and push tagged versions - if: ${{ github.event_name == 'workflow_dispatch' }} - uses: docker/build-push-action@v3 - with: - context: . - file: ./Dockerfile - push: true - tags: meshtastic/device-simulator:${{ steps.version.outputs.version }} - - - name: Docker build and push - if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request_target' && github.event_name != 'pull_request' }} - uses: docker/build-push-action@v3 - with: - context: . - file: ./Dockerfile - push: true - tags: meshtastic/device-simulator:latest - after-checks: runs-on: ubuntu-latest needs: [check] @@ -231,17 +150,7 @@ jobs: contents: write pull-requests: write runs-on: ubuntu-latest - needs: - [ - build-esp32, - build-esp32-s3, - build-esp32-c3, - build-nrf52, - build-raspbian, - build-native, - build-rpi2040, - package-raspbian, - ] + needs: [build-esp32, build-esp32-s3, build-nrf52] steps: - name: Checkout code uses: actions/checkout@v3 @@ -261,7 +170,7 @@ jobs: id: version - name: Move files up - run: mv -b -t ./ ./*tbeam-2*/littlefs*.bin ./*tbeam-2*/bleota.bin ./*tbeam-s3*/bleota-s3.bin ./*esp32c3*/bleota-c3.bin ./**/firmware*.bin ./*t-echo*/Meshtastic_nRF52_factory_erase_v2.uf2 ./**/firmware-*.uf2 ./**/firmware-*-ota.zip ./**/*.elf ./*native*/*device-*.sh ./*native*/*device-*.bat ./firmware-raspbian-*/release/meshtasticd_linux_aarch64 ./firmware-raspbian-*/bin/config-dist.yaml + run: mv -b -t ./ ./*tbeam-2*/littlefs*.bin ./*tbeam-2*/bleota.bin ./*tbeam-s3*/bleota-s3.bin ./**/firmware*.bin ./*t-echo*/Meshtastic_nRF52_factory_erase_v2.uf2 ./**/firmware-*.uf2 ./**/firmware-*-ota.zip ./**/*.elf - name: Repackage in single firmware zip uses: actions/upload-artifact@v3