🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
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.

35 lines
986 B

  1. name: Build (OpenWatcom)
  2. on: [push, pull_request]
  3. jobs:
  4. os2:
  5. name: ${{ matrix.platform.name }}
  6. runs-on: windows-latest
  7. strategy:
  8. matrix:
  9. platform:
  10. - { name: Windows, makefile: Makefile.w32 }
  11. - { name: OS/2, makefile: Makefile.os2 }
  12. steps:
  13. - uses: actions/checkout@v3
  14. - uses: open-watcom/setup-watcom@v0
  15. - name: Build SDL2
  16. run: |
  17. wmake -f ${{ matrix.platform.makefile }} ENABLE_WERROR=1
  18. - name: Build tests
  19. run: |
  20. cd test && wmake -f ${{ matrix.platform.makefile }} ENABLE_WERROR=1
  21. cd ..
  22. - name: Run tests
  23. if: "matrix.platform.makefile == 'Makefile.w32'"
  24. run: |
  25. cd test && wmake -f ${{ matrix.platform.makefile }} check-quick
  26. cd ..
  27. - name: distclean
  28. run: |
  29. wmake -f ${{ matrix.platform.makefile }} distclean
  30. cd test && wmake -f ${{ matrix.platform.makefile }} distclean
  31. cd ..