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
13
13
jobs :
14
14
build :
15
15
name : C/C++ CMake CI Test
16
- runs-on : ubuntu-24.04
17
16
strategy :
18
17
matrix :
19
18
os : ["windows-2022", "ubuntu-24.04", "macos-14"]
19
+ runs-on : ${{ matrix.os }}
20
20
21
21
steps :
22
22
- name : Checkout repository
23
23
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
24
24
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
+
25
36
- name : Check Tools
26
37
run : |
38
+ echo "-----------"
27
39
make --version
40
+ echo "-----------"
28
41
cmake --version
42
+ echo "-----------"
29
43
vcpkg --version
44
+ echo "-----------"
45
+ ls -alh $VCPKG_ROOT
30
46
31
47
- name : Install dependencies
32
48
run : |
You can’t perform that action at this time.
0 commit comments