From: Dimitris Panokostas Date: Tue, 18 Jun 2024 20:08:46 +0000 (+0200) Subject: Parallelize jobs X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=aa505ca804eff4f4ba2be5762edc0caa3cd3fb4e;p=francis%2Fwinuae.git Parallelize jobs Run separate jobs for 32/64-bit binaries --- diff --git a/.github/workflows/build-winuae-binary.yml b/.github/workflows/build-winuae-binary.yml index 45494fe6..57f87a63 100644 --- a/.github/workflows/build-winuae-binary.yml +++ b/.github/workflows/build-winuae-binary.yml @@ -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