Skip to content

update library version; add xmake tests #71

update library version; add xmake tests

update library version; add xmake tests #71

Workflow file for this run

name: Windows
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
env:
CTEST_OUTPUT_ON_FAILURE: 1
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: Setup Miniconda
# You may pin to the exact commit or the version.
# uses: conda-incubator/setup-miniconda@35d1405e78aa3f784fe3ce9a2eb378d5eeb62169
uses: conda-incubator/[email protected]
with:
auto-update-conda: ture
- name: Install dependent software
run: |
conda info
conda install -c conda-forge cmake boost=1.74
- name: configure
run: cmake -S. -Bbuild
- name: build
run: cmake --build build --config Debug -j4
- name: test
run: |
cd build/test
ctest --build-config Debug