Skip to content

chore: upgrade boost to 1.88.0 #52

chore: upgrade boost to 1.88.0

chore: upgrade boost to 1.88.0 #52

Workflow file for this run

name: Commit CI
on:
push:
branches:
- '**'
tags-ignore:
- '**'
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: windows-latest
steps:
- name: Checkout last commit
uses: actions/checkout@v4
- name: Install clang-format@18
shell: pwsh
run: |
$version = ""
if (Get-Command "clang-format" -ErrorAction SilentlyContinue){
$version = clang-format --version
$pat = ".*\s+(\d+\.\d+\.\d+)"
if ($version -match $pat) {
$version = $matches[1]
}
}
if ($version -ne "") {
Write-Host "clang-format version:$version"
if ([version]$version -eq [version]"18.1.8") {
Write-Host "clang-format OK"
} else {
Write-Host "clang-format version does not meet"
choco install llvm --version=18.1.8 --force
}
} else {
Write-Host "clang-format not installed"
choco install llvm --version=18.1.8
}
- name: Code style lint
run: make clang-format-lint
linux:
needs: lint
uses: ./.github/workflows/linux-build.yml
macos:
needs: lint
uses: ./.github/workflows/macos-build.yml
windows:
needs: lint
uses: ./.github/workflows/windows-build.yml
docker:
needs: lint
uses: ./.github/workflows/docker-build.yml