File tree Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Expand file tree Collapse file tree 1 file changed +46
-0
lines changed Original file line number Diff line number Diff line change @@ -265,3 +265,49 @@ jobs:
265265 run : |
266266 cd build/result/${{ matrix.build-config }}
267267 ./cage-test-core
268+
269+
270+ MacOS :
271+ name : macos-${{ matrix.build-config }}
272+ runs-on : macos-latest
273+ env :
274+ LDFLAGS : " -L/opt/homebrew/opt/llvm/lib"
275+ CPPFLAGS : " -I/opt/homebrew/opt/llvm/include"
276+ CC : /opt/homebrew/opt/llvm/bin/clang
277+ CXX : /opt/homebrew/opt/llvm/bin/clang++
278+ strategy :
279+ fail-fast : false
280+ matrix :
281+ build-config : [debug, release]
282+
283+ steps :
284+ - name : Install packages
285+ run : |
286+ brew install nasm llvm
287+
288+ - name : Versions
289+ run : |
290+ cmake --version
291+ git --version
292+ ${CC} --version
293+ ${CXX} --version
294+
295+ - uses : actions/checkout@v4
296+ with :
297+ submodules : recursive
298+
299+ - name : Configure
300+ run : |
301+ mkdir build
302+ cd build
303+ cmake -DCMAKE_BUILD_TYPE=${{ matrix.build-config }} ..
304+
305+ - name : Build
306+ run : |
307+ cd build
308+ cmake --build . -- -j$(( `sysctl -n hw.ncpu` + 1 ))
309+
310+ - name : Tests
311+ run : |
312+ cd build/result/${{ matrix.build-config }}
313+ ./cage-test-core
You can’t perform that action at this time.
0 commit comments