Skip to content

License changes in source-file headers (#777) #139

License changes in source-file headers (#777)

License changes in source-file headers (#777) #139

Workflow file for this run

name: CMake-MinGW
on:
push:
branches: [ master, dev ]
pull_request:
branches: [ master, dev ]
env:
BUILD_TYPE: Release
jobs:
build:
runs-on: windows-latest
strategy:
matrix:
include:
- { sys: mingw32, env: i686 }
- { sys: mingw64, env: x86_64 }
name: ${ matrix.sys }}
defaults:
run:
shell: msys2 {0}
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: '${{ matrix.icon }} Configure MSYS2'
uses: msys2/setup-msys2@v2
with:
msystem: ${{matrix.sys}}
update: true
install: >-
git
make
mingw-w64-${{matrix.env}}-toolchain
mingw-w64-${{matrix.env}}-cmake
mingw-w64-${{matrix.env}}-ninja
- name: Build
working-directory: ./Emulator
run: |
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
cmake --build build --config ${{env.BUILD_TYPE}}