From 2670f31f95c11dca8024da8e81cd85d9b9cbb463 Mon Sep 17 00:00:00 2001 From: Integer Limit <103940576+IntegerLimit@users.noreply.github.com> Date: Fri, 7 Feb 2025 23:32:57 +1100 Subject: [PATCH] Test Universal Mac Build --- .github/workflows/ci.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 14c082e14..cbf7e2162 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -156,6 +156,32 @@ jobs: path: build/iqtree2 if-no-files-found: error + compile-mac-universal: + name: Mac OS Universal + runs-on: macos-14 + needs: + - build-macos-x86_64 + - build-macos-arm + + steps: + - name: Download Artifacts + uses: actions/download-artifact@v4 + with: + pattern: Mac * + + - name: Combine Artifacts + run: lipo -create -output iqtree2 "Mac x86_64/iqtree2" "Mac Arm/iqtree2" + + - name: Check Architectures + run: lipo -archs iqtree2 + + - name: Upload Built Binary + uses: actions/upload-artifact@v4 + with: + name: Mac Universal + path: iqtree2 + if-no-files-found: error + build-windows-x86-64: name: Windows x86-64 runs-on: windows-2022