]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Parallelize jobs
authorDimitris Panokostas <midwan@gmail.com>
Tue, 18 Jun 2024 20:08:46 +0000 (22:08 +0200)
committerGitHub <noreply@github.com>
Tue, 18 Jun 2024 20:08:46 +0000 (22:08 +0200)
Run separate jobs for 32/64-bit binaries

.github/workflows/build-winuae-binary.yml

index 45494fe6363daa95944300fb952b9812c1422a1b..57f87a63e7bc39b5617fa0018a9e2aeba021445a 100644 (file)
@@ -13,7 +13,7 @@ env:
   SOLUTION_FILE_PATH: od-win32\\winuae_msvc15
 
 jobs:
-  Build-WinUAE-binary:
+  Build-WinUAE-32bit-binary:
     runs-on: windows-latest
 
     steps:
@@ -57,9 +57,44 @@ jobs:
 
     - uses: actions/upload-artifact@v4
       with:
-        name: WinUAE Win32 FullRelease
+        name: WinUAE 32-bit
         path: D:\\Amiga
 
+  Build-WinUAE-64bit-binary:
+    runs-on: windows-latest
+
+    steps:
+    - uses: actions/checkout@v4
+
+    - name: Add MSBuild to PATH
+      uses: microsoft/setup-msbuild@v2.0.0
+
+    # Running roughly step 4 of README.md
+    - name: Download WinUAE includes and libs
+      shell: powershell
+      run: Invoke-WebRequest -Uri "https://download.abime.net/winuae/files/b/winuaeinclibs.zip" -OutFile "winuaeinclibs.zip"
+
+    - name: Unpack WinUAE includes and libs to C:\\dev
+      uses: ihiroky/extract-action@v1
+      with:
+        file_path: winuaeinclibs.zip
+        extract_dir: C:\\dev
+
+    # Running roughly step 6 of README.md
+    - name: Download AROS ROM cpp
+      shell: powershell
+      run: Invoke-WebRequest -Uri "https://download.abime.net/winuae/files/b/aros.rom.cpp.zip" -OutFile "aros.rom.cpp.zip"
+
+    - name: Unpack AROS ROM cpp
+      uses: ihiroky/extract-action@v1
+      with:
+        file_path: aros.rom.cpp.zip
+        extract_dir: .
+
+    # Running roughly step 7 of README.md
+    - name: Add NASM to PATH
+      uses: ilammy/setup-nasm@v1.5.1
+
     # Running roughly step 12 of README.md
     - name: Build x64 FullRelease
       working-directory: ${{env.GITHUB_WORKSPACE}}
@@ -69,5 +104,5 @@ jobs:
 
     - uses: actions/upload-artifact@v4
       with:
-        name: WinUAE x64 FullRelease
+        name: WinUAE 64-bit
         path: D:\\Amiga