Skip to content

Commit d710d63

Browse files
committed
Cirrus CI for Apple Silicon noJit
- Build and test Debug, Test and Release Builds - Cirrus CI supports Apple Silicon - Not intended to replace Azure for other builds due to usage limits
1 parent d6e2800 commit d710d63

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.cirrus.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#-------------------------------------------------------------------------------------------------------
2+
# Copyright (c) ChakraCore Project Contributors. All rights reserved.
3+
# Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
4+
#-------------------------------------------------------------------------------------------------------
5+
6+
task:
7+
name: CMake ARM64.macOS.Debug (noJit)
8+
macos_instance:
9+
image: ghcr.io/cirruslabs/macos-ventura-xcode
10+
Dependencies_script: brew install ninja icu4c && mkdir -p build
11+
CMake_script: cd build && cmake -GNinja -DCMAKE_BUILD_TYPE=Debug -DSTATIC_LIBRARY=ON -DICU_INCLUDE_PATH=/opt/homebrew/opt/icu4c/include -DDISABLE_JIT=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang ..
12+
Build_script: cd build && ninja
13+
Test_script: cd build && ninja check
14+
15+
task:
16+
name: CMake ARM64.macOS.ReleaseWithDebug (noJit)
17+
macos_instance:
18+
image: ghcr.io/cirruslabs/macos-ventura-xcode
19+
Dependencies_script: brew install ninja icu4c && mkdir -p build
20+
CMake_script: cd build && cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DICU_INCLUDE_PATH=/opt/homebrew/opt/icu4c/include -DDISABLE_JIT=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang ..
21+
Build_script: cd build && ninja
22+
Test_script: cd build && ninja check
23+
24+
task:
25+
name: CMake ARM64.macOS.Release (noJit)
26+
macos_instance:
27+
image: ghcr.io/cirruslabs/macos-ventura-xcode
28+
Dependencies_script: brew install ninja icu4c && mkdir -p build
29+
CMake_script: cd build && cmake -GNinja -DCMAKE_BUILD_TYPE=Release -DSTATIC_LIBRARY=ON -DICU_INCLUDE_PATH=/opt/homebrew/opt/icu4c/include -DDISABLE_JIT=ON -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_C_COMPILER=clang ..
30+
Build_script: cd build && ninja
31+
Test_script: cd build && ninja check

0 commit comments

Comments
 (0)