Skip to content

Merge branch 'master' of https://github.com/EldarMuradov/EraEngine #6

Merge branch 'master' of https://github.com/EldarMuradov/EraEngine

Merge branch 'master' of https://github.com/EldarMuradov/EraEngine #6

name: CMake on Windows
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [windows-latest]
build_type: [Release]
c_compiler: [cl]
include:
- os: windows-latest
c_compiler: cl
cpp_compiler: cl
steps:
- uses: actions/checkout@v4
- name: Set reusable strings
id: strings
shell: bash
run: |
echo "build-output-dir=${{ github.workspace }}/_build"
- name: Generate project
run: >
./build.bat
- name: Build
run: |
cd _build
cmake --build . --config ${{ matrix.build_type }}