File tree Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Expand file tree Collapse file tree 1 file changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -13,31 +13,49 @@ 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
- os : ["windows-2022", "ubuntu-24.04", "macos-14"]
18
+ os : ["ubuntu-24.04", "macos-14"
19
+ # , "windows-2022"
20
+ ]
21
+ runs-on : ${{ matrix.os }}
20
22
21
23
steps :
22
24
- name : Checkout repository
23
25
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
24
26
27
+ - name : Install
28
+ shell : bash
29
+ run : |
30
+ if [ "$RUNNER_OS" == "macOS" ]; then
31
+ brew install vcpkg
32
+ git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
33
+ export VCPKG_ROOT="$HOME/vcpkg"
34
+ echo "VCPKG_ROOT=$HOME/vcpkg" >> $GITHUB_ENV
35
+ elif [ "$RUNNER_OS" == "Linux" ]; then
36
+ echo "VCPKG_ROOT=/usr/local/share/vcpkg" >> $GITHUB_ENV
37
+ elif [ "$RUNNER_OS" == "Windows" ]; then
38
+ echo "VCPKG_ROOT=C:/vcpkg" >> $GITHUB_ENV
39
+ fi
40
+
25
41
- name : Check Tools
26
42
run : |
43
+ echo "-----------"
27
44
make --version
45
+ echo "-----------"
28
46
cmake --version
47
+ echo "-----------"
29
48
vcpkg --version
49
+ echo "-----------"
30
50
31
51
- name : Install dependencies
32
52
run : |
33
53
make dependencies
34
54
35
- # yamllint disable rule:line-length
36
55
- name : Build
37
56
run : |
38
- export VCPKG_ROOT=/usr/local/share/vcpkg
39
57
make build
40
- # yamllint enable rule:line-length
41
58
42
59
- name : Test
43
- run : make test
60
+ run : |
61
+ make test
You can’t perform that action at this time.
0 commit comments