File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,36 @@ 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+ export VCPKG_ROOT="$HOME/vcpkg"
31+ echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
32+ elif [ "$RUNNER_OS" == "Windows" ]; then
33+ choco install vcpkg
34+ fi
35+
2536 - name : Check Tools
2637 run : |
38+ echo "-----------"
2739 make --version
40+ echo "-----------"
2841 cmake --version
42+ echo "-----------"
2943 vcpkg --version
44+ echo "-----------"
45+ ls -alh $VCPKG_ROOT
3046
3147 - name : Install dependencies
3248 run : |
You can’t perform that action at this time.
0 commit comments