ci.yml.tabs 1013 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Indentation adjustable version for accessible reading.
  2. name: DFPSR tests
  3. on: [push]
  4. jobs:
  5. scriptedTest:
  6. runs-on: ${{ matrix.os }}
  7. strategy:
  8. matrix:
  9. os: [ubuntu-latest, macos-latest]
  10. steps:
  11. - name: Checkout
  12. uses: actions/checkout@v4
  13. - name: Run tests on Linux
  14. if: matrix.os == 'ubuntu-latest'
  15. run: |
  16. cd ./Source/test
  17. ./test.sh
  18. - name: Run tests on MacOS
  19. if: matrix.os == 'macos-latest'
  20. run: |
  21. cd ./Source/test
  22. ./test.sh
  23. builderTest:
  24. runs-on: ${{ matrix.os }}
  25. strategy:
  26. matrix:
  27. os: [ubuntu-latest, macos-latest, windows-latest]
  28. architecture: [x86_64, arm64]
  29. steps:
  30. - name: Checkout
  31. uses: actions/checkout@v4
  32. - name: Run tests on Linux
  33. if: matrix.os == 'ubuntu-latest'
  34. run: ./Source/test/test_linux.sh
  35. - name: Run tests on MacOS
  36. if: matrix.os == 'macos-latest'
  37. run: ./Source/test/test_macos.sh
  38. - name: Run tests on Windows
  39. if: matrix.os == 'windows-latest'
  40. run: .\Source\test\test_windows.bat