From 98777f2801f98e76f864415a7d8a72fe3e6fbde5 Mon Sep 17 00:00:00 2001 From: lazymio Date: Sun, 11 Feb 2024 11:33:43 +0800 Subject: [PATCH] m1 runner --- .github/workflows/build-uc2.yml | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-uc2.yml b/.github/workflows/build-uc2.yml index 3b05b159..b532650e 100644 --- a/.github/workflows/build-uc2.yml +++ b/.github/workflows/build-uc2.yml @@ -258,25 +258,49 @@ jobs: matrix: config: - { - os: macos-latest, + os: macos-12, # x64 arch: x64, python-arch: x64, python-ver: '3.8', name: 'macos-x64 cmake shared', shared: 'yes', - artifact: 'macos-cmake-shared-x64.7z', + artifact: 'macos-x64-cmake-shared-x64.7z', build_type: 'Debug', archiver: '7za a', generators: 'Ninja' } - { - os: macos-latest, + os: macos-12, arch: x64, python-arch: x64, python-ver: '3.8', name: 'macos-x64 cmake static', shared: 'no', - artifact: 'macos-cmake-static-x64.7z', + artifact: 'macos-x64-cmake-static-x64.7z', + build_type: 'Debug', + archiver: '7za a', + generators: 'Ninja' + } + - { + os: macos-14, # arm64 + arch: arm64, + python-arch: arm64, + python-ver: '3.8', + name: 'macos-x64 cmake shared', + shared: 'yes', + artifact: 'macos-arm64-cmake-shared-x64.7z', + build_type: 'Debug', + archiver: '7za a', + generators: 'Ninja' + } + - { + os: macos-14, + arch: arm64, + python-arch: arm64, + python-ver: '3.8', + name: 'macos-arm64 cmake static', + shared: 'no', + artifact: 'macos-arm64-cmake-static-x64.7z', build_type: 'Debug', archiver: '7za a', generators: 'Ninja'