Skip to content

Merge branch 'temp' #193

Merge branch 'temp'

Merge branch 'temp' #193

Workflow file for this run

name: windows
on:
push:
pull_request:
branches: [ main ]
jobs:
build-and-test:
name: Build and test ${{matrix.build-type}} mode
runs-on: windows-2022
strategy:
matrix:
build-type: [Debug, Release]
steps:
- name: Clone recursively
uses: actions/checkout@v3
with:
submodules: recursive
- name: Configure
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
set CC=cl.exe
set CXX=cl.exe
cmake -B ${{github.workspace}}/build -G Ninja -DCMAKE_BUILD_TYPE=${{matrix.build-type}} -DBUILD_TESTING=ON -DFE_BUILD_EXAMPLES=ON
- name: Build
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
cmake --build ${{github.workspace}}/build -v
- name: Test
shell: cmd
run: ${{github.workspace}}/build/bin/fe-test.exe