Skip to content

Refactor Internet module #731

Refactor Internet module

Refactor Internet module #731

name: apple-clang++
on:
push:
branches:
- 'main'
workflow_dispatch:
pull_request:
jobs:
build:
runs-on: macos-14
name: ci-macos-14-apple-clang-15
steps:
- name: Install clang
run: brew install llvm@16 && echo 'export PATH="/opt/homebrew/opt/llvm@16/bin:$PATH"' >> /Users/runner/.bash_profile && source /Users/runner/.bash_profile && which clang++
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
- name: Install Ninja
uses: seanmiddleditch/gha-setup-ninja@master
- name: Configure CMake
run: |
cmake -S . --preset=unixlike-clang-debug \
-DBUILD_TESTING:BOOL=ON \
-DCMAKE_CXX_COMPILER=clang++
- name: Build
run: cmake --build --preset=unixlike-clang-debug
- name: Test
run: ctest --preset=unixlike-clang-debug