Skip to content

Commit 8c711f1

Browse files
committed
Update integration
1 parent df35e17 commit 8c711f1

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

.github/workflows/integrate.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
macos-10.15-xcode-11,
2828
macos-10.15-xcode-11.4,
2929
macos-10.15-xcode-12,
30-
macos-11.0
30+
macos-11.0-x86_64,
31+
macos-11.0-arm64
3132
]
3233
config: [Debug, Release]
3334
include:
@@ -91,8 +92,17 @@ jobs:
9192
compiler: xcode
9293
version: "12"
9394

94-
- name: macos-11.0
95+
- name: macos-11.0-x86_64
9596
os: macos-11.0
97+
compiler: xcode
98+
version: "12.2"
99+
cmake: "-DCMAKE_OSX_ARCHITECTURES=x86_64"
100+
101+
- name: macos-11.0-arm64
102+
os: macos-11.0
103+
compiler: xcode
104+
version: "12.2"
105+
cmake: "-DCMAKE_OSX_ARCHITECTURES=arm64"
96106

97107
steps:
98108
- uses: actions/checkout@v2
@@ -155,7 +165,7 @@ jobs:
155165
- name: Configure CMake (Unix)
156166
if: runner.os == 'macOS' || runner.os == 'Linux'
157167
working-directory: ${{runner.workspace}}/build
158-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.config}}
168+
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{matrix.config}} ${{matrix.cmake}}
159169

160170
- name: Configure CMake (Windows)
161171
if: runner.os == 'Windows'

0 commit comments

Comments
 (0)