Skip to content

Commit 7ae83c6

Browse files
authored
Update c-cpp.yml
Signed-off-by: RicardoSocas <117303118+RicardoSocas@users.noreply.github.com>
1 parent 20b283a commit 7ae83c6

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

.github/workflows/c-cpp.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,10 @@ name: C/C++ CI
22

33
on:
44
push:
5-
branches: [ "main", "dev" ]
5+
branches: "**"
66
pull_request:
77
branches: [ "main", "dev" ]
88
workflow_dispatch:
9-
inputs:
10-
logLevel:
11-
description: 'Log level'
12-
required: false
13-
default: 'warning'
14-
type: choice
15-
options:
16-
- info
17-
- warning
18-
- debug
19-
209
jobs:
2110
build:
2211

@@ -25,9 +14,13 @@ jobs:
2514
steps:
2615
- uses: actions/checkout@v3
2716
- name: update apt
28-
run: sudo apt-get update -y
29-
- name: install ninja
30-
run: sudo apt-get install -y ninja-build
17+
run: |
18+
sudo apt-get update -y \
19+
apt-get install --yes ninja-build rsync zip \
20+
apt-get install --yes pkg-config \
21+
git clone https://github.com/Microsoft/vcpkg.git \
22+
export VCPKG_ROOT=$VCPKG_INSTALLATION_ROOT \
23+
3124
- name: cmake configure
3225
run: cmake --preset linux-release
3326
- name: build

0 commit comments

Comments
 (0)