Skip to content

AppleClang 14 fix

AppleClang 14 fix #76

Workflow file for this run

---
name: Windows
on:
push:
branches:
- main
- develop
- msvc_test
pull_request:
branches:
- main
- develop
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: ccache
uses: hendrikmuhs/[email protected]
with:
key: ${{ github.workflow }}
- name: configure
run: |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache
- name: build
run: cmake --build build --config Release -j4
- name: test
run: |
cd build
ctest --build-config Release --output-on-failure