Skip to content

Merge pull request #1 from GordonSmith/REFACTOR #32

Merge pull request #1 from GordonSmith/REFACTOR

Merge pull request #1 from GordonSmith/REFACTOR #32

Workflow file for this run

name: Windows
on:
push:
branches:
- trunk
- main
pull_request:
branches:
- trunk
- main
env:
CTEST_OUTPUT_ON_FAILURE: 1
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/cache@v3
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- name: configure
run: |
cmake -S . -B build
- name: build
run: cmake --build build --config Debug --parallel
- name: test
working-directory: build/test
run: |
ctest