On Saturday, 7 September 2019 at 22:34:03 UTC, CodeMyst wrote:
On Friday, 6 September 2019 at 22:02:06 UTC, Andre Pany wrote:
Hi,

Just a small info, building your D application using Github Actions just works out of the box thanks to the install.sh script!

This configuration will install a "dub build" pull request voter:

https://github.com/andre2007/coding-puzzles/blob/master/.github/workflows/blank.yml

Kind regards
Andre

Here's my take on it: https://github.com/CodeMyst/ghactions-test/blob/master/.github/workflows/blank.yml

It doesn't use the install.sh script, this way you don't have to run the source command for every step. It just downloads the official deb package and installs it (since GitHub VMs have Ubuntu installed).

Thanks, I also had a look at the "container functionality". Unfortunately using containers or installing the dmd.deb package is rather slow compared to the install.sh script.

The complete runtime of the job is about 17 seconds by using install.sh and about 60 seconds for using the container / installing the dmd.deb package.

Kind regards
André

Reply via email to