gcontini
2020-10-11 da7c70a4b7fcd8a99306b3a0977c480b31667752
test github actions
1个文件已修改
14 ■■■■■ 已修改文件
.github/workflows/cpp.yml 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.github/workflows/cpp.yml
@@ -4,18 +4,20 @@
  push:
jobs:
  build-windows:
  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 & Test
    - name: Compile
      run: |
        mkdir -p build
        cd build
        cmake -G "Visual Studio 16 2019" -DBUILD_TESTING:BOOL=OFF -DLCC_PROJECT_NAME:STRING=geode ..
        cmake --build . --config Debug
      shell: bash
        cmake --build . --target install --config Debug
      shell: bash
    - name: Test
      run: ctest -C Release
      shell: bash