PR-builds.yml 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. name: Build Packages
  2. on: [push, pull_request, workflow_dispatch]
  3. jobs:
  4. Build-Windows-32bit-VS2019:
  5. name: 32-bit Windows On VS2019
  6. runs-on: windows-latest
  7. steps:
  8. - uses: actions/checkout@v2
  9. - uses: microsoft/[email protected]
  10. - run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Debug /p:Platform=win32
  11. - run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Release /p:Platform=win32
  12. - uses: actions/upload-artifact@v2
  13. with:
  14. name: Torque2D_Windows_x86_32bit_VS2019
  15. path: |
  16. .
  17. ! .git/
  18. ! engine/
  19. Build-Windows-64bit-VS2019:
  20. name: 64-bit Windows On VS2019
  21. runs-on: windows-latest
  22. steps:
  23. - uses: actions/checkout@v2
  24. - uses: microsoft/[email protected]
  25. - run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Debug /p:Platform=x64
  26. - run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Release /p:Platform=x64
  27. - uses: actions/upload-artifact@v2
  28. with:
  29. name: Torque2D_Windows_x86_64bit_VS2019
  30. path: |
  31. .
  32. ! .git/
  33. ! engine/
  34. Build-Windows-32bit-VS2017:
  35. name: 32-bit Windows On VS2017
  36. runs-on: windows-latest
  37. steps:
  38. - uses: actions/checkout@v2
  39. - uses: microsoft/[email protected]
  40. - run: msbuild -m "engine/compilers/VisualStudio 2017/Torque 2D.sln" /p:Configuration=Debug /p:Platform=win32
  41. - run: msbuild -m "engine/compilers/VisualStudio 2017/Torque 2D.sln" /p:Configuration=Release /p:Platform=win32
  42. - uses: actions/upload-artifact@v2
  43. with:
  44. name: Torque2D_Windows_x86_32bit_VS2017
  45. path: |
  46. .
  47. ! .git/
  48. ! engine/
  49. Build-Windows-64bit-VS2017:
  50. name: 64-bit Windows On VS2017
  51. runs-on: windows-latest
  52. steps:
  53. - uses: actions/checkout@v2
  54. - uses: microsoft/[email protected]
  55. - run: msbuild -m "engine/compilers/VisualStudio 2017/Torque 2D.sln" /p:Configuration=Debug /p:Platform=x64
  56. - run: msbuild -m "engine/compilers/VisualStudio 2017/Torque 2D.sln" /p:Configuration=Release /p:Platform=x64
  57. - uses: actions/upload-artifact@v2
  58. with:
  59. name: Torque2D_Windows_x86_64bit_VS2017
  60. path: |
  61. .
  62. ! .git/
  63. ! engine/
  64. Build-Linux-32Bit:
  65. name: Build package for 32-bit x86 Linux
  66. runs-on: ubuntu-latest
  67. steps:
  68. - uses: actions/checkout@v2
  69. - run: cd engine/compilers/Make-32bit/ && make
  70. - uses: actions/upload-artifact@v2
  71. with:
  72. name: Torque2D_Linux_x86_32bit
  73. path: |
  74. .
  75. ! .git/
  76. ! engine/
  77. Build-Linux-64bit:
  78. name: Build package for 64-bit x86 Linux
  79. runs-on: ubuntu-latest
  80. steps:
  81. - uses: actions/checkout@v2
  82. - run: cd engine/compilers/Make-64bit/ && make
  83. - uses: actions/upload-artifact@v2
  84. with:
  85. name: Torque2D_Linux_x86_64bit
  86. path: |
  87. .
  88. ! .git/
  89. ! engine/
  90. Build-MacOS:
  91. name: Build package for MacOS
  92. runs-on: macOS-latest
  93. steps:
  94. - uses: actions/checkout@v2
  95. - run: cd engine/compilers/Xcode && xcodebuild -project Torque2D.xcodeproj
  96. - uses: actions/upload-artifact@v2
  97. with:
  98. name: Torque2D_MacOS
  99. path: |
  100. .
  101. ! .git/
  102. ! engine/
  103. Build-iOS:
  104. name: Build package for iOS
  105. runs-on: macOS-latest
  106. steps:
  107. - uses: actions/checkout@v2
  108. - run: cd engine/compilers/Xcode_iOS && xcodebuild CODE_SIGNING_ALLOWED=no -project Torque2D.xcodeproj
  109. - uses: actions/upload-artifact@v2
  110. with:
  111. name: Torque2D_iOS
  112. path: |
  113. .
  114. ! .git/
  115. ! engine/