File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 7575 set -eo pipefail
7676 mkdir build
7777 cd build
78- cmake .. -DCMAKE_BUILD_TYPE=Release
78+ if [ "${{ matrix.arch }}" == "x86_64" ]; then
79+ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="${{ matrix.arch }}"
80+ else
81+ cmake .. -DCMAKE_BUILD_TYPE=Release
82+ fi
7983 cmake --build . --parallel
8084
8185 - name : Bundle
Original file line number Diff line number Diff line change 3939 set -eo pipefail
4040 mkdir build
4141 cd build
42- cmake .. -DCMAKE_BUILD_TYPE=Release
42+ if [ "${{ matrix.arch }}" == "x86_64" ]; then
43+ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="${{ matrix.arch }}"
44+ else
45+ cmake .. -DCMAKE_BUILD_TYPE=Release
46+ fi
4347 cmake --build . --parallel
4448
4549 - name : Bundle
You can’t perform that action at this time.
0 commit comments