Skip to content

[CONFIG] [Github Actions] clang-format (code styling check) set to cl… #23

[CONFIG] [Github Actions] clang-format (code styling check) set to cl…

[CONFIG] [Github Actions] clang-format (code styling check) set to cl… #23

Workflow file for this run

---
name: C/C++ CMake/LLVM MacOS CI Test
on: # yamllint disable-line rule:truthy
push:
branches: ["main"]
pull_request:
# The branches below must be a subset of the branches above
branches: ["main"]
workflow_dispatch:
jobs:
test:
name: C/C++ CMake CI Test
strategy:
matrix:
os: ["macos-14"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Install
shell: bash
run: |
export VCPKG_VERSION=2025.01.13
brew install vcpkg
git clone \
--depth 1 \
--branch $VCPKG_VERSION \
https://github.com/microsoft/vcpkg.git \
--single-branch \
"$HOME/vcpkg"
export VCPKG_ROOT="$HOME/vcpkg"
sh $VCPKG_ROOT/bootstrap-vcpkg.sh
echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
- name: Check Tools
run: |
echo "-----------"
make --version
echo "-----------"
cmake --version
echo "-----------"
vcpkg --version
echo "-----------"
- name: Install dependencies
run: |
make dependencies
- name: Build
run: |
make build
- name: Test
run: |
make test