File tree Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -14,29 +14,19 @@ jobs:
14
14
- name : Checkout code
15
15
uses : actions/checkout@v2
16
16
17
- - name : Install dependencies
18
- run : |
19
- sudo apt-get update
20
- sudo apt-get install -y build-essential cmake
17
+ - name : Set up vcpkg
18
+ uses : lukka/get-cmake@v3
19
+ with :
20
+ vcpkgArgs : ' boost '
21
21
22
22
- name : Build
23
23
run : |
24
24
mkdir build
25
25
cd build
26
- cmake .. 2>&1 | tee cmake_output.log
27
- make 2>&1 | tee make_output.log
26
+ cmake -DCMAKE_TOOLCHAIN_FILE=../vcpkg/scripts/buildsystems/vcpkg.cmake ..
27
+ make
28
28
29
29
- name : Run tests
30
30
run : |
31
31
cd build
32
- ctest 2>&1 | tee ctest_output.log
33
-
34
- - name : Show build logs
35
- if : always()
36
- run : |
37
- echo "CMake Output:"
38
- cat build/cmake_output.log
39
- echo "Make Output:"
40
- cat build/make_output.log
41
- echo "CTest Output:"
42
- cat build/ctest_output.log
32
+ ctest
You can’t perform that action at this time.
0 commit comments