Skip to content

Commit b91c32b

Browse files
author
Gonzalo Diaz
committed
[CONFIG] [Github Actions] C/C++ rewrite.
1 parent 30fd5fb commit b91c32b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/cpp.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,25 @@ on: # yamllint disable-line rule:truthy
1313
jobs:
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+
run: |
27+
if [ "$RUNNER_OS" == "macOS" ]; then
28+
brew install vcpkg
29+
export VCPKG_ROOT="$HOME/vcpkg"
30+
elif [ "$RUNNER_OS" == "Windows" ]; then
31+
choco install vcpkg
32+
fi
33+
shell: bash
34+
2535
- name: Check Tools
2636
run: |
2737
make --version

0 commit comments

Comments
 (0)