File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed
Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change @@ -2,21 +2,10 @@ name: C/C++ CI
22
33on :
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-
209jobs :
2110 build :
2211
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
You can’t perform that action at this time.
0 commit comments