diff --git a/.appveyor.yml b/.appveyor.yml index fd52576..f63c5b6 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,6 +1,8 @@ os: - Visual Studio 2015 - Visual Studio 2017 +- Visual Studio 2019 +- Visual Studio 2022 build_script: - cmake -Bbuild -S. diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml new file mode 100644 index 0000000..972a696 --- /dev/null +++ b/.github/workflows/cmake.yml @@ -0,0 +1,24 @@ +name: CMake + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Configure CMake + run: cmake -B ${{github.workspace}}/build + + - name: Build + run: cmake --build ${{github.workspace}}/build + + - name: Test + working-directory: ${{github.workspace}}/build + run: cmake --build ${{github.workspace}}/build --target test