A collection of scripts & documentation for HorrificDev hosting.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

36 lines
770 B

  1. name: Dlang Package
  2. on:
  3. push:
  4. paths:
  5. - 'source/*'
  6. - 'source/*/*'
  7. - 'source/*/*/*'
  8. - 'source/*/*/*/*'
  9. - '*.json'
  10. - '.github/workflows/*'
  11. pull_request:
  12. paths:
  13. - 'source/*'
  14. - 'source/*/*'
  15. - 'source/*/*/*'
  16. - 'source/*/*/*/*'
  17. - '*.json'
  18. jobs:
  19. test:
  20. name: "Run tests"
  21. runs-on: ubuntu-latest
  22. steps:
  23. - uses: actions/checkout@master
  24. - name: "Setup Dlang"
  25. run: curl https://dlang.org/install.sh | bash -s
  26. - name: "Install Dependencies"
  27. run: |
  28. sudo apt-get update
  29. sudo apt-get install -y libcurl4-openssl-dev libdbus-1-dev --fix-missing
  30. - name: "Test"
  31. run: |
  32. source ~/dlang/dmd-*/activate
  33. make test