Bladeren bron

Add VS2017, macOS, iOS builds.

Casey Doran 4 jaren geleden
bovenliggende
commit
ca14859c91
1 gewijzigde bestanden met toevoegingen van 62 en 6 verwijderingen
  1. 62 6
      .github/workflows/PR-builds.yml

+ 62 - 6
.github/workflows/PR-builds.yml

@@ -1,8 +1,8 @@
 name: Build Packages
 on: [push, pull_request]
 jobs:
-  Build-Windows-32bit:
-    name: Build package for 32-bit x86 Windows
+  Build-Windows-32bit-VS2019:
+    name: 32-bit Windows On VS2019
     runs-on: windows-latest
     steps:
       - uses: actions/checkout@v2
@@ -11,13 +11,13 @@ jobs:
       - run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Release /p:Platform=win32
       - uses: actions/upload-artifact@v2
         with:
-          name: Torque2D_Windows_x86_32bit
+          name: Torque2D_Windows_x86_32bit_VS2019
           path: |
             .
             ! .git/
             ! engine/
-  Build-Windows-64bit:
-    name: Build package for 64-bit x86 Windows
+  Build-Windows-64bit-VS2019:
+    name: 64-bit Windows On VS2019
     runs-on: windows-latest
     steps:
       - uses: actions/checkout@v2
@@ -26,7 +26,37 @@ jobs:
       - run: msbuild -m "engine/compilers/VisualStudio 2019/Torque 2D.sln" /p:Configuration=Release /p:Platform=x64
       - uses: actions/upload-artifact@v2
         with:
-          name: Torque2D_Windows_x86_64bit
+          name: Torque2D_Windows_x86_64bit_VS2019
+          path: |
+            .
+            ! .git/
+            ! engine/
+  Build-Windows-32bit-VS2017:
+    name: 32-bit Windows On VS2017
+    runs-on: windows-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: microsoft/[email protected]
+      - run: msbuild -m "engine/compilers/VisualStudio 2017/Torque 2D.sln" /p:Configuration=Debug /p:Platform=win32
+      - run: msbuild -m "engine/compilers/VisualStudio 2017/Torque 2D.sln" /p:Configuration=Release /p:Platform=win32
+      - uses: actions/upload-artifact@v2
+        with:
+          name: Torque2D_Windows_x86_32bit_VS2017
+          path: |
+            .
+            ! .git/
+            ! engine/
+  Build-Windows-64bit-VS2017:
+    name: 64-bit Windows On VS2017
+    runs-on: windows-latest
+    steps:
+      - uses: actions/checkout@v2
+      - uses: microsoft/[email protected]
+      - run: msbuild -m "engine/compilers/VisualStudio 2017/Torque 2D.sln" /p:Configuration=Debug /p:Platform=x64
+      - run: msbuild -m "engine/compilers/VisualStudio 2017/Torque 2D.sln" /p:Configuration=Release /p:Platform=x64
+      - uses: actions/upload-artifact@v2
+        with:
+          name: Torque2D_Windows_x86_64bit_VS2017
           path: |
             .
             ! .git/
@@ -57,3 +87,29 @@ jobs:
             .
             ! .git/
             ! engine/
+  Build-MacOS:
+    name: Build package for MacOS
+    runs-on: macOS-latest
+    steps:
+      - uses: actions/checkout@v2
+      - run: cd engine/compilers/Xcode && xcodebuild -project Torque2D.xcodeproj
+      - uses: actions/upload-artifact@v2
+        with:
+          name: Torque2D_MacOS
+          path: |
+            .
+            ! .git/
+            ! engine/
+  Build-iOS:
+    name: Build package for iOS
+    runs-on: macOS-latest
+    steps:
+      - uses: actions/checkout@v2
+      - run: cd engine/compilers/Xcode_iOS && xcodebuild CODE_SIGNING_ALLOWED=no -project Torque2D.xcodeproj
+      - uses: actions/upload-artifact@v2
+        with:
+          name: Torque2D_iOS
+          path: |
+            .
+            ! .git/
+            ! engine/