attempt to add macos-m1 to CI
who knows, it might work
This commit is contained in:
parent
11818e1caf
commit
3b2003a31a
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@ -24,6 +24,16 @@ jobs:
|
|||||||
os: macos-10.15
|
os: macos-10.15
|
||||||
sanitize: false
|
sanitize: false
|
||||||
build: { cc: clang, cxx: clang++, linker: ld.lld }
|
build: { cc: clang, cxx: clang++, linker: ld.lld }
|
||||||
|
- name: "macOS (10.15) - Xcode 12.3 - M1"
|
||||||
|
os: macos-m1
|
||||||
|
sanitize: false
|
||||||
|
build: { cc: clang, cxx: clang++, linker: ld.lld }
|
||||||
|
|
||||||
|
# disable rosetta on M1
|
||||||
|
defaults:
|
||||||
|
if: contains(matrix.os, 'm1')
|
||||||
|
run:
|
||||||
|
shell: /usr/bin/arch -arch arm64e /bin/bash -l {0}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
Loading…
Reference in New Issue
Block a user