fix: check sha256sum of boost in batch file #53
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |