ci.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # See ci.yml.tabs for the properly indented version if you are having trouble seeing the indentation in this file.
  2. # This version is only for Github to parse.
  3. name: DFPSR tests
  4. on: [push]
  5. jobs:
  6. scriptedTest:
  7. runs-on: ${{ matrix.os }}
  8. strategy:
  9. matrix:
  10. os: [ubuntu-latest, macos-latest]
  11. steps:
  12. - name: Checkout
  13. uses: actions/checkout@v4
  14. - name: Run tests on Linux
  15. if: matrix.os == 'ubuntu-latest'
  16. run: |
  17. cd ./Source/test
  18. ./test.sh
  19. - name: Run tests on MacOS
  20. if: matrix.os == 'macos-latest'
  21. run: |
  22. cd ./Source/test
  23. ./test.sh
  24. builderTest:
  25. runs-on: ${{ matrix.os }}
  26. strategy:
  27. matrix:
  28. os: [ubuntu-latest, macos-latest, windows-latest]
  29. architecture: [x86_64, arm64]
  30. steps:
  31. - name: Checkout
  32. uses: actions/checkout@v4
  33. - name: Run tests on Linux
  34. if: matrix.os == 'ubuntu-latest'
  35. run: ./Source/test/test_linux.sh
  36. - name: Run tests on MacOS
  37. if: matrix.os == 'macos-latest'
  38. run: ./Source/test/test_macos.sh
  39. - name: Run tests on Windows
  40. if: matrix.os == 'windows-latest'
  41. run: .\Source\test\test_windows.bat