Thread overview
Thanks again, this time for the github workflow action
Mar 25, 2021
Chris Piker
Mar 25, 2021
Imperatorn
Mar 25, 2021
Ali Çehreli
Mar 25, 2021
Chris Piker
Mar 25, 2021
Paul Backus
Mar 26, 2021
James Blachly
Mar 26, 2021
Mathias LANG
March 25, 2021
Hi setup-dlang Maintainers

Just wanted to let the creators of the github setup-dlang action know that I really appreciate your work!  I setup a workflow for my CDF library and it was as easy as pie since all the heavy lifting is done by https://github.com/dlang-community/setup-dlang.

Since there's no direct feedback mechanism on github, figured I'd drop a note of appreciation here.

Take Care,

March 25, 2021
On Thursday, 25 March 2021 at 11:39:30 UTC, Chris Piker wrote:
> Hi setup-dlang Maintainers
>
> Just wanted to let the creators of the github setup-dlang action know that I really appreciate your work!  I setup a workflow for my CDF library and it was as easy as pie since all the heavy lifting is done by https://github.com/dlang-community/setup-dlang.
>
> Since there's no direct feedback mechanism on github, figured I'd drop a note of appreciation here.
>
> Take Care,

Nice, didn't even know that existed
March 25, 2021
On 3/25/21 4:39 AM, Chris Piker wrote:

> the github setup-dlang action

Some of us have no idea what it is and how to use it. (Me too! :p)

Ali

March 25, 2021
On Thursday, 25 March 2021 at 20:54:10 UTC, Ali Çehreli wrote:
> On 3/25/21 4:39 AM, Chris Piker wrote:
>
> > the github setup-dlang action
>
> Some of us have no idea what it is and how to use it. (Me too! :p)
>
> Ali

I've not used many continuous integration tools before, only Jenkins and I didn't use that extensively, so I'm far from an expert, but here's what I think I know.  Corrections invited of course.

* Github Actions are the rough equivalent to Travis CI

* Actions are automatically triggered processes run on Azure Cloud Services in response to some activity in your github repository, typically a commit to a branch you designate.

* Many different operating systems are available for running your designated actions, including the big three of course.

* Actions are defined by a file in your repository, here's an example of mine:
   https://github.com/das-developers/deimos.cdf/blob/main/.github/workflows/d.yml

* To create an action click the "Actions" button at the top of your repository page.

* There should be a button called "Create Workflow".  If you click that, a bunch of workflow templates are presented.  If the D template does not appear scroll down and hit the "More continuous integration workflows", it should be among those listed.

Note, I had to customize this template to get it to work on Windows.  I added:

   shell: cmd
   run: |
     dub build -b release --compiler=%DC%

and changed the comment markers from "#" to "rem" for the run command body.

Form there the github GUI should walk you through running the action.  If it's set to run on update, merely committing the new workflow file itself will trigger a run.

Hope this helps,

March 25, 2021
On Thursday, 25 March 2021 at 20:54:10 UTC, Ali Çehreli wrote:
> On 3/25/21 4:39 AM, Chris Piker wrote:
>
> > the github setup-dlang action
>
> Some of us have no idea what it is and how to use it. (Me too! :p)
>
> Ali

It installs the D compiler in your CI environment. Saves you from having to download and run `install.sh` yourself, more or less.

I have some workflows set up for `sumtype` that use it:

- Run tests using multiple OSes and compiler versions:
  https://github.com/pbackus/sumtype/blob/v1.1.1/.github/workflows/test.yml

- Build documentation with adrdox and deploy to Github pages:
  https://github.com/pbackus/sumtype/blob/v1.1.1/.github/workflows/docs.yml
March 25, 2021
On 3/25/21 7:39 AM, Chris Piker wrote:
> Hi setup-dlang Maintainers
> 
> Just wanted to let the creators of the github setup-dlang action know that I really appreciate your work!  I setup a workflow for my CDF library and it was as easy as pie since all the heavy lifting is done by https://github.com/dlang-community/setup-dlang.
> 
> Since there's no direct feedback mechanism on github, figured I'd drop a note of appreciation here.
> 
> Take Care,
> 

Hear, hear! I also recently discovered this and use it for our lab's big library binding project, and it [easy CI] has already caught several
a couple of breaking commits that we would have missed otherwise.

Thank you Dlang community
March 26, 2021
On Thursday, 25 March 2021 at 11:39:30 UTC, Chris Piker wrote:
> Hi setup-dlang Maintainers
>
> Just wanted to let the creators of the github setup-dlang action know that I really appreciate your work!  I setup a workflow for my CDF library and it was as easy as pie since all the heavy lifting is done by https://github.com/dlang-community/setup-dlang.
>
> Since there's no direct feedback mechanism on github, figured I'd drop a note of appreciation here.
>
> Take Care,

Thanks! Most praise should go to @Dicebot (Mihails Strasuns), who started the project and still frequently contributes.
And I enabled `Discussions` on the repository to allow for feedback in the future. Anyone feel free to reach out if you have any suggestion / question.