make.yml 772 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. ---
  2. name: Make
  3. on:
  4. schedule:
  5. - cron: '0 0 1 * *'
  6. push:
  7. branches:
  8. - "**"
  9. pull_request:
  10. branches:
  11. - master
  12. - main
  13. concurrency:
  14. group: ${{ github.workflow }}-${{ github.ref }}
  15. cancel-in-progress: true
  16. jobs:
  17. build:
  18. runs-on: ${{ matrix.os }}
  19. timeout-minutes: 120
  20. strategy:
  21. matrix:
  22. os:
  23. - ubuntu-latest
  24. steps:
  25. - name: Checkout
  26. uses: actions/checkout@v4
  27. with:
  28. submodules: true
  29. - name: Build
  30. shell: bash
  31. run: |
  32. set -xeuo pipefail
  33. sudo bash -c 'apt-get update; apt-get install -y lazarus libxtst-dev' >/dev/null
  34. instantfpc -Fu/usr/lib/lazarus/*/components/lazutils \
  35. .github/workflows/make.pas build