• Tags
  • Documentation
  • Order
  • Register
  • Login
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.
  • undefined
    gregsaun
    last edited by 29 Oct 2021, 09:09

    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

    undefined 1 Reply Last reply 29 Oct 2021, 09:24 Reply Quote 1
    • undefined
      oliof @gregsaun
      last edited by 29 Oct 2021, 09:24

      @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<>

      undefined 1 Reply Last reply 29 Oct 2021, 09:27 Reply Quote 1
      • undefined
        gregsaun @oliof
        last edited by gregsaun 29 Oct 2021, 09:27

        @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

        undefined 1 Reply Last reply 29 Oct 2021, 09:30 Reply Quote 0
        • undefined
          oliof @gregsaun
          last edited by oliof 29 Oct 2021, 09:30

          @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
          • undefined
            mfs12
            last edited by mfs12 29 Oct 2021, 10:05

            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/

            undefined 1 Reply Last reply 29 Oct 2021, 10:07 Reply Quote 2
            • undefined
              gregsaun @mfs12
              last edited by 29 Oct 2021, 10:07

              @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

              undefined 1 Reply Last reply 29 Oct 2021, 10:09 Reply Quote 0
              • undefined
                mfs12 @gregsaun
                last edited by mfs12 29 Oct 2021, 10:09

                @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/

                undefined 1 Reply Last reply 29 Oct 2021, 10:13 Reply Quote 0
                • undefined
                  gregsaun @mfs12
                  last edited by 29 Oct 2021, 10:13

                  @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
                  • undefined
                    mfs12
                    last edited by 29 Oct 2021, 10:29

                    @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
                    • undefined
                      mfs12
                      last edited by 29 Oct 2021, 10:30

                      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/

                      undefined 1 Reply Last reply 29 Oct 2021, 10:34 Reply Quote 1
                      • undefined
                        gregsaun @mfs12
                        last edited by 29 Oct 2021, 10:34

                        @mfs12 Don't hesitate if you need help 🙂

                        github.com/gregsaun - Papa Bear

                        1 Reply Last reply Reply Quote 1
                        • undefined
                          gregsaun
                          last edited by 29 Oct 2021, 11:11

                          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
                          1 out of 12
                          • First post
                            1/12
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA