Skip to content

Commit 9c2d73a

Browse files
committed
another attempt
1 parent 945c7c5 commit 9c2d73a

File tree

1 file changed

+7
-17
lines changed

1 file changed

+7
-17
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,29 +14,19 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v2
1616

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'
2121

2222
- name: Build
2323
run: |
2424
mkdir build
2525
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
2828
2929
- name: Run tests
3030
run: |
3131
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

0 commit comments

Comments
 (0)