Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Automatic builds

    Scheduled Pinned Locked Moved
    Firmware wishlist
    3
    12
    560
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gregsaunundefined
      gregsaun
      last edited by

      Hi All,

      For the Bear Duet project we will have a single repository for on our GitHub with release that contains all the necessary files and configurations for installing Duet RRF and PanelDue to our Duet Mini 5+ board. I am doing a GitHub action script to automate the release creation (gather files from Duet GitHub release, make our own splash screen, create a draft release and upload all necessary files to the draft release).

      I have noticed that filenames are changing between the releases and this makes the automation script more difficult and it might be more prone to errors. This makes me thing that the RRF and PanelDue firmware release are made manually and I am wondering if automating this process would be possible in the future. This would reduce risks of human error, reduce time needed to make the release and make it more consistent over time.

      I would be very happy to help with this however, I might not be the best person as I am new to Duet RRF and have not tried to build it myself yet.

      github.com/gregsaun - Papa Bear

      oliofundefined 1 Reply Last reply Reply Quote 1
      • oliofundefined
        oliof @gregsaun
        last edited by

        @gregsaun that woulf be great if combined with a move to cmake ...

        <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

        gregsaunundefined 1 Reply Last reply Reply Quote 1
        • gregsaunundefined
          gregsaun @oliof
          last edited by gregsaun

          @oliof Ah yes that would be great too. This can probably be handled as two separate tasks but I agree it would make sense. Moving to cmake is probably a lot of work.

          github.com/gregsaun - Papa Bear

          oliofundefined 1 Reply Last reply Reply Quote 0
          • oliofundefined
            oliof @gregsaun
            last edited by oliof

            @gregsaun there is an incomplete PR by @mfs12 that only targets Duet2the mini 3, covering all the other target devices would be "just work", but of course it's up to @dc42 to make that call (-;

            <>RatRig V-Minion Fly Super5Pro RRF<> V-Core 3.1 IDEX k*****r <> RatRig V-Minion SKR 2 Marlin<>

            1 Reply Last reply Reply Quote 1
            • mfs12undefined
              mfs12
              last edited by mfs12

              Hey @gregsaun, @oliof,

              Paneldue is already ported to cmake. Check the github repo https://github.com/Duet3D/PanelDueFirmware

              It runs perfectly within Arch Linux so integration with automated build based on docker or similar should be feasible.

              I also started this work for RepRapFirmware. It brings basic support for the mini5+. It needs most of the configuration for other boards to be ported. Otherwise i think it's a good basis to start off.

              Check https://github.com/mfs12/RepRapFirmware/tree/integrate-cmake-build-system

              Visit me on github at https://github.com/mfs12/

              gregsaunundefined 1 Reply Last reply Reply Quote 2
              • gregsaunundefined
                gregsaun @mfs12
                last edited by

                @mfs12 That is awesome to head, thanks for that work. So yes for PanelDue we can use GitHub actions, it is using docker and you can specify the OS as well if you like.

                github.com/gregsaun - Papa Bear

                mfs12undefined 1 Reply Last reply Reply Quote 0
                • mfs12undefined
                  mfs12 @gregsaun
                  last edited by mfs12

                  @gregsaun can you share the github action files. So far i am not familiar with github actions but would like to have this integrated as well.

                  Visit me on github at https://github.com/mfs12/

                  gregsaunundefined 1 Reply Last reply Reply Quote 0
                  • gregsaunundefined
                    gregsaun @mfs12
                    last edited by

                    @mfs12 It is not published yet but here is the create release GitHub action script I am currently using to create the release:
                    create_release.yml.txt

                    I have an external script to create the zip files and for now the splash screen creation isn't done yet. You need to rename the file as .yml

                    github.com/gregsaun - Papa Bear

                    1 Reply Last reply Reply Quote 0
                    • mfs12undefined
                      mfs12
                      last edited by

                      @gregsaun, thanks i will have a look into it.

                      Visit me on github at https://github.com/mfs12/

                      1 Reply Last reply Reply Quote 0
                      • mfs12undefined
                        mfs12
                        last edited by

                        BTW to build Paneldue any Linux should be fine no need to use specifically Arch Linux.

                        Visit me on github at https://github.com/mfs12/

                        gregsaunundefined 1 Reply Last reply Reply Quote 1
                        • gregsaunundefined
                          gregsaun @mfs12
                          last edited by

                          @mfs12 Don't hesitate if you need help 🙂

                          github.com/gregsaun - Papa Bear

                          1 Reply Last reply Reply Quote 1
                          • gregsaunundefined
                            gregsaun
                            last edited by

                            For info, this is how my draft release looks like on GitHub after the automatic creation
                            bear_duet_config_release_01.jpg

                            github.com/gregsaun - Papa Bear

                            1 Reply Last reply Reply Quote 0
                            • First post
                              Last post
                            Unless otherwise noted, all forum content is licensed under CC-BY-SA