From 321074b4970da4340b9a8e0506c12f15aea76cd1 Mon Sep 17 00:00:00 2001 From: Pengfei Xuan Date: Sat, 23 Mar 2024 13:33:21 -0400 Subject: [PATCH] Test macos-13 with x86_64 --- .github/workflows/macos.yml | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 86a5441..0970315 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -16,10 +16,18 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-14] # [macos-14, macos-13, macos-12, macos-11] - arch: [arm64] # [arm64, x86_64] - torch-version: [2.2.1] # [2.2.1, 2.2.0, 2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.13.0, 1.12.0] + os: [macos-14, macos-13] # [macos-14, macos-13, macos-12, macos-11] + arch: [arm64, x86_64] # [arm64, x86_64] + torch-version: [2.2.1, 2.1.2] # [2.2.1, 2.2.0, 2.1.2, 2.1.1, 2.1.0, 2.0.0, 1.13.0, 1.12.0] cmake-build-type: [Release] # [Debug, ClangTidy] + exclude: + - os: macos-14 + arch: x86_64 + - os: macos-14 + arch: arm64 + torch-version: 2.1.2 + - os: macos-13 + arch: arm64 env: CCACHE_DIR: ${{ github.workspace }}/ccache CCACHE_BASEDIR: ${{ github.workspace }} @@ -34,6 +42,8 @@ jobs: - name: Setup MacOS run: | + brew update || brew update-reset \ + brew upgrade \ brew install \ ccache \ cmake \ @@ -84,7 +94,7 @@ jobs: uses: actions/upload-artifact@v4 with: path: | - build/libgsplat.a + build/libgsplat_cpu.a build/opensplat build/simple_trainer