Jump to content

CI Build mit GitHub Actions

Recommended Posts

Hallo zusammen,

ich habe mal etwas mit GitHub Actions „rumgespielt“ und einen CI Build meines Forks der WARP-Firmware eingerichtet. Bei jedem Commit wird die Software nun automatisch kompiliert und - falls erfolgreich - purzelt am Ende dann ein Zip mit der neuen Firmware raus.

Falls es jemanden interessiert, hier ist mein erster Wurf…

Gruß Thomas

name: PlatformIO CI

on: [push]

    runs-on: ubuntu-latest

      - uses: actions/checkout@v3
      - uses: actions/cache@v3
          path: |
          key: ${{ runner.os }}-pio
      - uses: actions/setup-python@v4
          python-version: '3.9'
      - uses: actions/setup-node@v3
          node-version: 16
      - name: Install PlatformIO Core
        run: pip install --upgrade platformio

      - name: Build PlatformIO Project
        working-directory: ./software
        run: pio run -e warp2_poohnet

      - name: Upload Artifacts
        uses: actions/upload-artifact@v3
          name: warp-firmware
          path: ./software/build/


  • Thanks 1
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...