File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change @@ -13,31 +13,43 @@ on: # yamllint disable-line rule:truthy
1313jobs :
1414 build :
1515 name : C/C++ CMake CI Test
16- runs-on : ubuntu-24.04
1716 strategy :
1817 matrix :
1918 os : ["windows-2022", "ubuntu-24.04", "macos-14"]
19+ runs-on : ${{ matrix.os }}
2020
2121 steps :
2222 - name : Checkout repository
2323 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
2424
25+ - name : Install
26+ shell : bash
27+ run : |
28+ if [ "$RUNNER_OS" == "macOS" ]; then
29+ brew install vcpkg
30+ git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
31+ export VCPKG_ROOT="$HOME/vcpkg"
32+ echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
33+ fi
34+
2535 - name : Check Tools
2636 run : |
37+ echo "-----------"
2738 make --version
39+ echo "-----------"
2840 cmake --version
41+ echo "-----------"
2942 vcpkg --version
43+ echo "-----------"
3044
3145 - name : Install dependencies
3246 run : |
3347 make dependencies
3448
35- # yamllint disable rule:line-length
3649 - name : Build
3750 run : |
38- export VCPKG_ROOT=/usr/local/share/vcpkg
3951 make build
40- # yamllint enable rule:line-length
4152
4253 - name : Test
43- run : make test
54+ run : |
55+ make test
You can’t perform that action at this time.
0 commit comments