gcontini
2020-10-25 33041ad25a6add7beace4a680ffaaf88c5c3948a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: CI
 
on: 
  push:
 
jobs:
  build-windows-vc2019:
    runs-on: windows-2019
    steps:
    - uses: actions/checkout@v1
    - name: Setup Boost (Windows / Linux latest)
      shell: bash
      run: echo "BOOST_ROOT=$BOOST_ROOT_1_72_0" >> $GITHUB_ENV
    - name: Compile
      run: |
        cd build
        cmake -G "Visual Studio 16 2019" -DLCC_PROJECT_NAME:STRING=test ..
        cmake --build . --target install --config Debug
      shell: bash
    - name: Test
      run: |
        cd build 
        ctest -C Debug
      shell: bash