This repository was archived by the owner on May 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +76
-5
lines changed
Expand file tree Collapse file tree 4 files changed +76
-5
lines changed Original file line number Diff line number Diff line change 1- name : CMake
1+ name : CMake (Ubuntu Linux)
22
33on : [push, pull_request]
44
1212
1313 steps :
1414 - uses : actions/checkout@v2
15- with :
16- submodules : recursive
1715
1816 - name : Create build directory
1917 run : mkdir build
Original file line number Diff line number Diff line change 1+ name : CMake (macOS)
2+
3+ on : [push, pull_request]
4+
5+ env :
6+ BUILD_TYPE : RelWithDebInfo
7+
8+ jobs :
9+ build :
10+ runs-on : macos-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+ with :
16+ submodules : recursive
17+
18+ - name : Install libraries
19+ run : brew install web-eid/gtest/gtest
20+
21+ - name : Create build directory
22+ run : mkdir build
23+
24+ - name : Configure CMake
25+ working-directory : ${{github.workspace}}/build
26+ run : cmake -DCMAKE_BUILD_TYPE=${BUILD_TYPE} ..
27+
28+ - name : Build
29+ working-directory : ${{github.workspace}}/build
30+ run : cmake --build . --config ${BUILD_TYPE}
31+
32+ - name : Test
33+ working-directory : ${{github.workspace}}/build
34+ run : ctest -V -C ${BUILD_TYPE}
Original file line number Diff line number Diff line change 1+ name : CMake (Windows)
2+
3+ on : [push, pull_request]
4+
5+ env :
6+ BUILD_TYPE : RelWithDebInfo
7+
8+ jobs :
9+ build :
10+ runs-on : windows-latest
11+
12+ steps :
13+ - name : Checkout code
14+ uses : actions/checkout@v2
15+ with :
16+ submodules : recursive
17+
18+ - name : Prepare vcpkg and libraries
19+ uses : lukka/run-vcpkg@v6
20+ with :
21+ vcpkgArguments : gtest:x64-windows
22+ vcpkgTriplet : x64-windows
23+ vcpkgDirectory : ${{runner.workspace}}/vcpkg/
24+ vcpkgGitCommitId : ec6fe06e8da05a8157dc8581fa96b36b571c1bd5
25+
26+ - name : Create build directory
27+ run : mkdir build
28+
29+ - name : Configure CMake
30+ working-directory : ${{github.workspace}}/build
31+ run : cmake -A x64 "-DCMAKE_TOOLCHAIN_FILE=${{runner.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_BUILD_TYPE=${env:BUILD_TYPE}" ..
32+
33+ - name : Build
34+ working-directory : ${{github.workspace}}/build
35+ run : cmake --build . --config ${env:BUILD_TYPE}
36+
37+ - name : Test
38+ working-directory : ${{github.workspace}}/build
39+ run : ctest -V -C ${env:BUILD_TYPE}
Original file line number Diff line number Diff line change 1010# supported CodeQL languages.
1111# ******** NOTE ********
1212
13- name : " CodeQL"
13+ name : CodeQL code analysis
1414
1515on :
1616 push :
1919 # The branches below must be a subset of the branches above
2020 branches : [ main ]
2121 schedule :
22- - cron : ' 17 18 * * 5 '
22+ - cron : ' 18 17 * * 4 '
2323
2424jobs :
2525 analyze :
You can’t perform that action at this time.
0 commit comments