File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ name: Master Branch CI - Full Tests
55on :
66 pull_request :
77 branches : [ master ]
8+ push :
9+ branches : [ test-mactest ]
810
911jobs :
1012 linux-tests :
7577
7678 - name : Run tests
7779 run : |
78- cd build && ctest --verbose -C ${{ matrix.build_type }} --output-on-failure
80+ cd build && ctest --verbose -C ${{ matrix.build_type }} --output-on-failure
81+
82+ macos-tests :
83+ runs-on : macos-latest
84+ strategy :
85+ matrix :
86+ build_type : [ Debug, Release ]
87+
88+ steps :
89+ - name : Checkout
90+ uses : actions/checkout@v4
91+
92+ - name : Install dependencies
93+ run : |
94+ brew update
95+ brew install cmake ninja
96+
97+ - name : Configure and Build
98+ run : |
99+ export CC=clang
100+ export CXX=clang++
101+
102+ cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -G Ninja
103+ cmake --build build --config ${{ matrix.build_type }}
104+
105+ - name : Run tests
106+ run : |
107+ cd build && ctest --verbose --output-on-failure
You can’t perform that action at this time.
0 commit comments